xref: error -> user-error: reduce debug-on-error annoyance
* lisp/progmodes/xref.el (xref--next-error-function): Use user-error instead of error.
This commit is contained in:
parent
e5ee1d2a74
commit
2fcf6b4086
1 changed files with 1 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ This function is used as a value for `add-log-current-defun-function'."
|
|||
(let ((xref-current-item xref))
|
||||
(xref--show-location (xref-item-location xref) t)))
|
||||
(t
|
||||
(error "No %s xref" (if backward "previous" "next"))))))
|
||||
(user-error "No %s xref" (if backward "previous" "next"))))))
|
||||
|
||||
(defvar xref--button-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
|
|
Loading…
Add table
Reference in a new issue