]> git.eshelyaron.com Git - emacs.git/commit
Support reverting Apropos buffers (bug#36588)
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 11 Jul 2019 14:11:35 +0000 (15:11 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sun, 4 Aug 2019 22:19:51 +0000 (01:19 +0300)
commit4cd41ba8def704ce3bd2f3806176815fd696fa57
tree5e6c8ed57041968abfb574132b8f0a6891c6286a
parenta5b796a8798a809044d847568e6472cc5eca077e
Support reverting Apropos buffers (bug#36588)

* lisp/apropos.el (apropos--current): New variable akin to
help-xref-stack-item storing information for revert-buffer.
(apropos--revert-buffer): New function.
(apropos-mode): Use it as revert-buffer-function.
(apropos-command, apropos, apropos-library, apropos-value)
(apropos-local-value, apropos-documentation): Set apropos--current
in low-level commands, i.e., those which do not call other commands.
lisp/apropos.el