]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/xref.el (xref-revert-buffer): Require 'bookmark'
authorEshel Yaron <me@eshelyaron.com>
Fri, 7 Jun 2024 09:44:09 +0000 (11:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 7 Jun 2024 09:44:09 +0000 (11:44 +0200)
lisp/progmodes/xref.el

index cb9cb1f28c9cdfa83201d6aecbea4e0d715b099e..2451fc323f1e900d076d8f6f8c82bedd15b87e0a 100644 (file)
@@ -1401,6 +1401,7 @@ this variable to an alist with the following key-value pairs:
 (defun xref-revert-buffer (&rest _)
   "Refresh the search results in the current buffer."
   (interactive nil xref--xref-buffer-mode)
+  (require 'bookmark)
   (let ((inhibit-read-only t)
         (buffer-undo-list t)
         (bookmark (bookmark-make-record-default t)))