Skip to content

Commit

Permalink
fix: don't signal an error in xref reference backend
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa authored Oct 28, 2024
1 parent 34e9383 commit c4e1e48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions citre.el
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,10 @@ The returned value is a valid return value for
(if-let ((buf (citre-get-property 'xref-symbol-buffer symbol)))
(with-current-buffer buf
(citre-xref--make-collection (citre-get-references)))
(user-error "Finding references of completed symbol is not supported \
by Citre")))
(message "Finding references of completed symbol is not supported by \
Citre")
;; return nil so `xref' can try other backends
nil))

;;;; Imenu

Expand Down

0 comments on commit c4e1e48

Please sign in to comment.