]> git.eshelyaron.com Git - emacs.git/commit
Suppress bogus messages in the echo area
authorArash Esbati <arash@gnu.org>
Wed, 10 Apr 2024 21:05:39 +0000 (23:05 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 16:48:25 +0000 (18:48 +0200)
commita6a5c52cb08e37ec25a2672e6d538d743058cd71
tree0872022644ee832cab69f0abb517fab777e36d6b
parent2db5902a62a908db59f51ea375caa3b7d2d0ff03
Suppress bogus messages in the echo area

* lisp/textmodes/reftex-dcr.el (reftex-view-crossref-when-idle):
Check if point inside a mandatory argument where the cite/ref key
usually resides.  For example, with \cite[45]{emacs:30} and point
on 4, the following bogus message in the echo area is suppressed:
"cite: no such database entry: \cite[45]".  (bug#38258)
Fix docstring.

(cherry picked from commit ca528f7c6ac9b907564298bc96663579d09f9434)
lisp/textmodes/reftex-dcr.el