From: Lars Ingebrigtsen Date: Tue, 21 Jun 2022 11:34:54 +0000 (+0200) Subject: Fix previous describe-key change X-Git-Tag: emacs-29.0.90~1447^2~1567 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5387dec4eb12ff668e531f323efd8b28540c9a2;p=emacs.git Fix previous describe-key change * lisp/help.el (describe-function-orig-buffer): Ensure we bind dynamically. --- 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,