mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-08 00:33:13 -08:00
Change the xref-goto-xref error message
* lisp/progmodes/xref.el (xref-goto-xref): Change the error message (bug#49846).
This commit is contained in:
parent
18d7562e91
commit
232be9bf87
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ quit the *xref* buffer."
|
|||
(interactive "P")
|
||||
(let* ((buffer (current-buffer))
|
||||
(xref (or (xref--item-at-point)
|
||||
(user-error "No reference at point")))
|
||||
(user-error "Choose a reference to visit")))
|
||||
(xref--current-item xref))
|
||||
(xref--show-location (xref-item-location xref) (if quit 'quit t))
|
||||
(if (fboundp 'next-error-found)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue