]> git.eshelyaron.com Git - emacs.git/commitdiff
Demote errors when gathering bookmark context
authorEshel Yaron <me@eshelyaron.com>
Mon, 27 May 2024 20:22:58 +0000 (22:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 27 May 2024 20:22:58 +0000 (22:22 +0200)
lisp/progmodes/xref.el

index 9930fe92617f04a5c83ae95d9bb5c74c286fecad..b1eff2f487dee3610d3ccd1f64e8618ec175868b 100644 (file)
@@ -328,7 +328,7 @@ recognize and then delegate the work to an external process."
 
 (cl-defgeneric xref-backend-context (_backend _identifier _kind)
   "Return BACKEND-specific context for finding references to IDENTIFIER."
-  (bookmark-make-record))
+  (with-demoted-errors "Bookmark record error: %S" (bookmark-make-record)))
 
 (cl-defmethod xref-backend-context ((_backend (head files)) _id _kind))