24 |
|
|
25 |
;;; Commentary: |
;;; Commentary: |
26 |
|
|
27 |
;; Provides `tool-bar-mode' to control display of the tool -bar and |
;; Provides `tool-bar-mode' to control display of the tool-bar and |
28 |
;; bindings for the global tool bar with convenience functions |
;; bindings for the global tool bar with convenience functions |
29 |
;; `tool-bar-add-item' and `tool-bar-add-item-from-menu'. |
;; `tool-bar-add-item' and `tool-bar-add-item-from-menu'. |
30 |
|
|
149 |
|
|
150 |
Use this function only to make bindings in the global value of `tool-bar-map'. |
Use this function only to make bindings in the global value of `tool-bar-map'. |
151 |
To define items in any other map, use `tool-bar-local-item'." |
To define items in any other map, use `tool-bar-local-item'." |
152 |
(apply 'tool-bar-local-item-from-menu command icon tool-bar-map map props)) |
(apply 'tool-bar-local-item-from-menu command icon |
153 |
|
(default-value 'tool-bar-map) map props)) |
154 |
|
|
155 |
;;;###autoload |
;;;###autoload |
156 |
(defun tool-bar-local-item-from-menu (command icon in-map &optional from-map &rest props) |
(defun tool-bar-local-item-from-menu (command icon in-map &optional from-map &rest props) |