From 3a2b5a713f92ffba3bdb52725e98030ad5b43a67 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 1 Oct 2018 10:19:27 +0300 Subject: [PATCH] ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885) --- lisp/bindings.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.") (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 -- 2.39.2