When I run (y-or-n-p "Prompt") while the cursor is on an org-ref citation link, the prompt appears for a second and then disappears again to continue displaying the information about the article corresponding to the link. How do I avoid this? That is, how can I temporarily disable the showing of information about the article in the minibuffer?

  • Can you reproduce the problem starting with emacs -Q (no init file)? If so, consider filing a bug report: M-x report-emacs-bug. If not, recursively bisect your init file to find the culprit.
    – Drew
    Aug 31, 2017 at 17:05

2 Answers 2


from the org-ref manual:

Controlling link messages and tooltips

Org-ref is setup to provide messages in the minibuffer when your cursor is on a link, and tooltips when your mouse hovers over a link. If this is distracting you can turn it off by putting this in your init file:

(setq org-ref-show-citation-on-enter nil)

Alternatively, you can turn this on and off interactively with the commands:

  • Setting org-ref-show-citation-on-enter did not do the job. However, when searching for the uses of this variable, I discovered the actual functions intended for this purpose (see my reply). Aug 31, 2017 at 17:32

Thanks to the answer of @Tyler, I discovered two functions: org-ref-cancel-link-messages and org-ref-show-link-messages, which do the job.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.