]> git.eshelyaron.com Git - emacs.git/commit
Look up keybindings in correct buffer in describe-function.
authorGregory Heytings <gregory@heytings.org>
Sat, 3 Sep 2022 22:43:26 +0000 (22:43 +0000)
committerGregory Heytings <gregory@heytings.org>
Sat, 3 Sep 2022 22:45:04 +0000 (00:45 +0200)
commit1d1158397bce41466078e384eed2d1e214e206de
treec50451505f6c0dfa293783a830ceaaf21448cbde
parent22bee93d92567a1b01ebf7354089e6695e134611
Look up keybindings in correct buffer in describe-function.

* lisp/help-fns.el (help-fns--key-bindings): New parameter.
Use it when looking up keybindings.
(describe-function-1): Add the buffer in which the command
was invoked as argument to 'help-fns--key-bindings'.
Fixes bug#57568.
lisp/help-fns.el