summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-21 13:34:54 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-21 13:34:54 +0200
commita5387dec4eb12ff668e531f323efd8b28540c9a2 (patch)
tree4b34e93764325ff286fecf72e7b045cddb923b6d /lisp/help.el
parentef03c8852d064da127a1deea263b2dcec5ea5bf8 (diff)
downloademacs-a5387dec4eb12ff668e531f323efd8b28540c9a2.tar.gz
emacs-a5387dec4eb12ff668e531f323efd8b28540c9a2.tar.bz2
emacs-a5387dec4eb12ff668e531f323efd8b28540c9a2.zip
Fix previous describe-key change
* lisp/help.el (describe-function-orig-buffer): Ensure we bind dynamically.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 94747ff4b0f..f14617b4371 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -903,6 +903,9 @@ Describe the following key, mouse click, or menu item: "
(setq yank-menu (copy-sequence saved-yank-menu))
(fset 'yank-menu (cons 'keymap yank-menu))))))
+;; Defined in help-fns.el.
+(defvar describe-function-orig-buffer)
+
(defun describe-key (&optional key-list buffer up-event)
"Display documentation of the function invoked by KEY-LIST.
KEY-LIST can be any kind of a key sequence; it can include keyboard events,