emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 3a2b5a7: ; * lisp/bindings.el (bindings--define-k


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 3a2b5a7: ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)
Date: Mon, 1 Oct 2018 03:20:14 -0400 (EDT)

branch: emacs-26
commit 3a2b5a713f92ffba3bdb52725e98030ad5b43a67
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * 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 3e202b9..a1af438 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]