]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/help-fns.el (help-fns--key-bindings): Fix previous change.
authorGregory Heytings <gregory@heytings.org>
Mon, 5 Sep 2022 22:13:07 +0000 (22:13 +0000)
committerGregory Heytings <gregory@heytings.org>
Mon, 5 Sep 2022 22:15:49 +0000 (00:15 +0200)
lisp/help-fns.el

index e223b10ba8e448a2488a6f22013fbf8c36d2d1a6..dac4a03cd9427364fed30d737b25eb746101c78f 100644 (file)
@@ -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