Fix some help-fns test failures

* lisp/help-fns.el (help-fns--key-bindings): Fix test failures
from recent change.
This commit is contained in:
Lars Ingebrigtsen 2022-09-04 11:37:32 +02:00
parent d2abe9adf7
commit 500af031c8

View file

@ -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