tool-bar-map doc string clarification
* lisp/tool-bar.el (tool-bar-map): Try to clarify how this variable is used (bug#17709).
This commit is contained in:
parent
f2c5ba71e4
commit
32c500df99
1 changed files with 5 additions and 1 deletions
|
|
@ -77,7 +77,11 @@ See `tool-bar-mode' for more information."
|
|||
|
||||
(defvar tool-bar-map (make-sparse-keymap)
|
||||
"Keymap for the tool bar.
|
||||
Define this locally to override the global tool bar.")
|
||||
|
||||
To override the global tool bar, define this variable
|
||||
buffer-locally and add the items you want to it with
|
||||
`tool-bar-add-item', `tool-bar-add-item-from-menu' and related
|
||||
functions.")
|
||||
|
||||
(global-set-key [tool-bar]
|
||||
`(menu-item ,(purecopy "tool bar") ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue