summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-10-03 09:25:26 -0700
committerGlenn Morris <rgm@gnu.org>2018-10-03 09:25:26 -0700
commitf5621181111ba7cc58967ee9b1cfa08020d3e3ea (patch)
tree9099bea307086a6898f396d15709f004e2f5c27f /lisp/bindings.el
parenta773b0918ce15cbd657c1e77417b231ffb0363fb (diff)
parent9c028d6965c7bb3024ada4f59be133b940438127 (diff)
downloademacs-f5621181111ba7cc58967ee9b1cfa08020d3e3ea.tar.gz
Merge from origin/emacs-26
9c028d6 * lisp/savehist.el (savehist-mode): Doc fix. (Bug#32889) 3a2b5a7 ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#3... 6a7a869 Org manual: Rewrite the Org Mobile section # Conflicts: # lisp/savehist.el
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 9797052725a..76383ad2cef 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -309,7 +309,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