]> git.eshelyaron.com Git - emacs.git/commit
Make :filters run in the correct buffer in describe-buffer-bindings
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 17 Apr 2022 15:36:58 +0000 (17:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 17 Apr 2022 16:06:26 +0000 (18:06 +0200)
commitb49cca70128246a4e9a226bfc6eb08e934a7043f
tree74d422d56c373d84787dca72528acff2069d67ef
parentdd451a37ddf9e1358c56bdb9c65606c1a7967f07
Make :filters run in the correct buffer in describe-buffer-bindings

* lisp/help.el (describe-map-tree): Take an optional buffer parameter.
(describe-map): Ditto, and use it to run `lookup-key' in the
correct buffer.  This fixes problems of filters being run in the
wrong buffer (bug#39149).

* src/keymap.c (Fdescribe_buffer_bindings): Pass in BUFFER to
describe-map-tree.
lisp/help.el
src/keymap.c