aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-12 07:30:36 +0200
committerLars Ingebrigtsen2019-10-12 07:30:36 +0200
commit32c500df99deb88cace9be53dde0dfa0f50304f3 (patch)
tree1e98e4ab4d887011c8a695148f148da30224c8d7
parentf2c5ba71e4e91969808f0641a129a57701689b1b (diff)
downloademacs-32c500df99deb88cace9be53dde0dfa0f50304f3.tar.gz
emacs-32c500df99deb88cace9be53dde0dfa0f50304f3.zip
tool-bar-map doc string clarification
* lisp/tool-bar.el (tool-bar-map): Try to clarify how this variable is used (bug#17709).
-rw-r--r--lisp/tool-bar.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index 4be16b21fb8..01bd8f75265 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -77,7 +77,11 @@ See `tool-bar-mode' for more information."
77 77
78(defvar tool-bar-map (make-sparse-keymap) 78(defvar tool-bar-map (make-sparse-keymap)
79 "Keymap for the tool bar. 79 "Keymap for the tool bar.
80Define this locally to override the global tool bar.") 80
81To override the global tool bar, define this variable
82buffer-locally and add the items you want to it with
83`tool-bar-add-item', `tool-bar-add-item-from-menu' and related
84functions.")
81 85
82(global-set-key [tool-bar] 86(global-set-key [tool-bar]
83 `(menu-item ,(purecopy "tool bar") ignore 87 `(menu-item ,(purecopy "tool bar") ignore