From b648634982bb52be2b21e92d4aeb837621b5ec63 Mon Sep 17 00:00:00 2001 From: Gregory Heytings Date: Mon, 5 Sep 2022 22:13:07 +0000 Subject: [PATCH] ; * lisp/help-fns.el (help-fns--key-bindings): Fix previous change. --- lisp/help-fns.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2