summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-09-04 11:37:32 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-04 11:37:32 +0200
commit500af031c88b7ddb3252f4d28113cf1d3e8144c7 (patch)
treebe3db6136bee6088d5031e7b41ff3c0548127419
parentd2abe9adf7a1bfcdfd712de1446fd3e710e0f699 (diff)
downloademacs-500af031c88b7ddb3252f4d28113cf1d3e8144c7.tar.gz
Fix some help-fns test failures
* lisp/help-fns.el (help-fns--key-bindings): Fix test failures from recent change.
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 3f3a5747dc2..6d635ec9ee3 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -516,7 +516,7 @@ the C sources, too."
(remapped (command-remapping function)))
(unless (memq remapped '(ignore undefined))
(let* ((all-keys
- (with-current-buffer orig-buffer
+ (with-current-buffer (or orig-buffer (current-buffer))
(where-is-internal
(or remapped function) overriding-local-map nil nil)))
(seps (seq-group-by