]> git.eshelyaron.com Git - emacs.git/commit
Support bookmarking 'project-find-regexp' results buffer
authorEshel Yaron <me@eshelyaron.com>
Mon, 12 Feb 2024 17:38:36 +0000 (18:38 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 12 Feb 2024 17:38:36 +0000 (18:38 +0100)
commit5de2bfd3e2d672d0f955b916a200edc16dca6b07
treefc89adce25fc3f375622337825a96492693f1258
parentf5c002f1e51f71cf5719d78d5c2d3a879b09d20c
Support bookmarking 'project-find-regexp' results buffer

* lisp/progmodes/project.el (xref-backend-apropos)
(xref-backend-context, xref-backend-restore): New methods.
(project-find-regexp, project-or-external-find-regexp): Use
'xref-make-fetcher' instead of a bespoke fetcher function to
facilitate bookmarking the results buffer.

* lisp/progmodes/xref.el (xref-bookmark-make-record): Use
strings for 'format-spec' specifications.
(xref-bookmark-jump): Autoload it.
(xref-show-xrefs): Make DISPLAY-ACTION argument optional.
(xref-make-fetcher): Autoload, and make BUFFER and POINT
arguments optional, default to the current buffer and point.
lisp/progmodes/project.el
lisp/progmodes/xref.el