]> git.eshelyaron.com Git - emacs.git/commit
Support "reverting" Xref buffers (bug#35702)
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 24 May 2019 01:50:44 +0000 (04:50 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 24 May 2019 01:50:44 +0000 (04:50 +0300)
commit62349fe82ad42d7d2a7fb19e40860ee5d6ebd017
tree38c815c6ac736d801b314d5ddb067bcfdf076542
parent1cadab78e242834adab0fae3cb1feb691d52f8c5
Support "reverting" Xref buffers (bug#35702)

* lisp/progmodes/xref.el (xref--fetcher): New variable.
(xref--xref-buffer-mode-map): Add binding for 'g'.
(xref--revert-xref-buffer): New command.
(xref--show-xref-buffer): Accept a function as the first argument.
(xref--show-xrefs): Same.
(xref--find-xrefs): Pass the above a fetcher function.

* lisp/progmodes/project.el (project-find-regexp)
(project-or-external-find-regexp): Same.

* lisp/dired-aux.el (dired-do-find-regexp): Same.
lisp/dired-aux.el
lisp/progmodes/project.el
lisp/progmodes/xref.el