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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user