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