diff options
| author | Lars Ingebrigtsen | 2022-06-21 13:34:54 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-06-21 13:34:54 +0200 |
| commit | a5387dec4eb12ff668e531f323efd8b28540c9a2 (patch) | |
| tree | 4b34e93764325ff286fecf72e7b045cddb923b6d | |
| parent | ef03c8852d064da127a1deea263b2dcec5ea5bf8 (diff) | |
| download | emacs-a5387dec4eb12ff668e531f323efd8b28540c9a2.tar.gz emacs-a5387dec4eb12ff668e531f323efd8b28540c9a2.zip | |
Fix previous describe-key change
* lisp/help.el (describe-function-orig-buffer): Ensure we bind
dynamically.
| -rw-r--r-- | lisp/help.el | 3 |
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: " | |||
| 903 | (setq yank-menu (copy-sequence saved-yank-menu)) | 903 | (setq yank-menu (copy-sequence saved-yank-menu)) |
| 904 | (fset 'yank-menu (cons 'keymap yank-menu)))))) | 904 | (fset 'yank-menu (cons 'keymap yank-menu)))))) |
| 905 | 905 | ||
| 906 | ;; Defined in help-fns.el. | ||
| 907 | (defvar describe-function-orig-buffer) | ||
| 908 | |||
| 906 | (defun describe-key (&optional key-list buffer up-event) | 909 | (defun describe-key (&optional key-list buffer up-event) |
| 907 | "Display documentation of the function invoked by KEY-LIST. | 910 | "Display documentation of the function invoked by KEY-LIST. |
| 908 | KEY-LIST can be any kind of a key sequence; it can include keyboard events, | 911 | KEY-LIST can be any kind of a key sequence; it can include keyboard events, |