1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)

This commit is contained in:
Eli Zaretskii 2018-10-01 10:19:27 +03:00
parent 6a7a869c33
commit 3a2b5a713f

View File

@ -265,7 +265,10 @@ Normally nil in most modes, since there is no process to display.")
(make-variable-buffer-local 'mode-line-process)
(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))
(define-key map key
(cond