diff options
| author | Eli Zaretskii | 2018-10-01 10:19:27 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-10-01 10:19:27 +0300 |
| commit | 3a2b5a713f92ffba3bdb52725e98030ad5b43a67 (patch) | |
| tree | 1569a99dbcb021e797024f74c30813a95883f6c0 | |
| parent | 6a7a869c33bb69efd93bb0ce8d8322083dbbcbac (diff) | |
| download | emacs-3a2b5a713f92ffba3bdb52725e98030ad5b43a67.tar.gz emacs-3a2b5a713f92ffba3bdb52725e98030ad5b43a67.zip | |
; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)
| -rw-r--r-- | lisp/bindings.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 3e202b9b78c..a1af4389bee 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -265,7 +265,10 @@ Normally nil in most modes, since there is no process to display.") | |||
| 265 | (make-variable-buffer-local 'mode-line-process) | 265 | (make-variable-buffer-local 'mode-line-process) |
| 266 | 266 | ||
| 267 | (defun bindings--define-key (map key item) | 267 | (defun bindings--define-key (map key item) |
| 268 | "Make as much as possible of the menus pure." | 268 | "Define KEY in keymap MAP according to ITEM from a menu. |
| 269 | This is like `define-key', but it takes the definition from the | ||
| 270 | specified menu item, and makes pure copies of as much as possible | ||
| 271 | of the menu's data." | ||
| 269 | (declare (indent 2)) | 272 | (declare (indent 2)) |
| 270 | (define-key map key | 273 | (define-key map key |
| 271 | (cond | 274 | (cond |