]> git.eshelyaron.com Git - emacs.git/commit
Use 'revert-function' in *xref* buffer
authorEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 16:51:32 +0000 (18:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 28 Jun 2024 05:45:09 +0000 (07:45 +0200)
commit38464a31d534a672537073c4d22a4a18ea0e16ee
treed1aa6ff7247f21e8566f6d839d18481850f492b1
parentb18e25fabb371b7626745e5529c6db68100a3f04
Use 'revert-function' in *xref* buffer

* lisp/progmodes/xref.el (xref--xref-buffer-mode-map): Cease
binding 'g' to 'xref-revert-buffer'.
(xref--xref-buffer-mode): Set 'revert-buffer-function' to...
(xref--revert-buffer): ...this.  New function, renamed from...
(xref-revert-buffer): ...this.  Make it an alias of
'revert-buffer'.
* etc/NEWS: Announce it.
* doc/emacs/maintaining.texi (Xref Commands): Update docs.

(cherry picked from commit 82125b1a6616259531ef3abd45b41089de160ba7)
doc/emacs/maintaining.texi