; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)
This commit is contained in:
parent
6a7a869c33
commit
3a2b5a713f
1 changed files with 4 additions and 1 deletions
|
@ -265,7 +265,10 @@ Normally nil in most modes, since there is no process to display.")
|
||||||
(make-variable-buffer-local 'mode-line-process)
|
(make-variable-buffer-local 'mode-line-process)
|
||||||
|
|
||||||
(defun bindings--define-key (map key item)
|
(defun bindings--define-key (map key item)
|
||||||
"Make as much as possible of the menus pure."
|
"Define KEY in keymap MAP according to ITEM from a menu.
|
||||||
|
This is like `define-key', but it takes the definition from the
|
||||||
|
specified menu item, and makes pure copies of as much as possible
|
||||||
|
of the menu's data."
|
||||||
(declare (indent 2))
|
(declare (indent 2))
|
||||||
(define-key map key
|
(define-key map key
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue