emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 500af031c8: Fix some help-fns test failures


From: Lars Ingebrigtsen
Subject: master 500af031c8: Fix some help-fns test failures
Date: Sun, 4 Sep 2022 05:37:47 -0400 (EDT)

branch: master
commit 500af031c88b7ddb3252f4d28113cf1d3e8144c7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix some help-fns test failures
    
    * lisp/help-fns.el (help-fns--key-bindings): Fix test failures
    from recent change.
---
 lisp/help-fns.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 3f3a5747dc..6d635ec9ee 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]