summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2022-09-05 22:13:07 +0000
committerGregory Heytings <gregory@heytings.org>2022-09-06 00:15:49 +0200
commitb648634982bb52be2b21e92d4aeb837621b5ec63 (patch)
tree67e5f9feae6335886dcf857e86176ea010f5d436
parent361d3dbc4ec8ba6c47ab96f1d89abce1063883d8 (diff)
downloademacs-b648634982bb52be2b21e92d4aeb837621b5ec63.tar.gz
; * lisp/help-fns.el (help-fns--key-bindings): Fix previous change.
-rw-r--r--lisp/help-fns.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index e223b10ba8e..dac4a03cd94 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -516,7 +516,8 @@ the C sources, too."
(remapped (command-remapping function)))
(unless (memq remapped '(ignore undefined))
(let* ((all-keys
- (with-current-buffer describe-function-orig-buffer
+ (with-current-buffer
+ (or describe-function-orig-buffer (current-buffer))
(where-is-internal
(or remapped function) overriding-local-map nil nil)))
(seps (seq-group-by