From: Eshel Yaron Date: Mon, 27 May 2024 20:22:58 +0000 (+0200) Subject: Demote errors when gathering bookmark context X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b982c8b032f9c07f93427e9795d3caafd654e6c4;p=emacs.git Demote errors when gathering bookmark context --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 9930fe92617..b1eff2f487d 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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))