changeset 32340:97bfc5c6e1c1

(tool-bar-add-item-from-menu): Add autoload cookie.
author Dave Love <fx@gnu.org>
date Mon, 09 Oct 2000 17:56:11 +0000
parents bf863038e7a6
children 924ecf698ac3
files lisp/ChangeLog lisp/toolbar/tool-bar.el
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Oct 09 16:34:21 2000 +0000
+++ b/lisp/ChangeLog	Mon Oct 09 17:56:11 2000 +0000
@@ -2,6 +2,7 @@
 
 	* toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
 	has been initialized before calling tool-bar-setup.
+	(tool-bar-add-item-from-menu): Add autoload cookie.
 
 2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
 
--- a/lisp/toolbar/tool-bar.el	Mon Oct 09 16:34:21 2000 +0000
+++ b/lisp/toolbar/tool-bar.el	Mon Oct 09 17:56:11 2000 +0000
@@ -99,6 +99,7 @@
       (define-key-after tool-bar-map (vector key)
 	`(menu-item ,(symbol-name key) ,def :image ,image ,@props)))))
 
+;;;###autoload
 (defun tool-bar-add-item-from-menu (command icon &optional map &rest props)
   "Define tool bar binding for COMMAND using the given ICON in keymap MAP.
 The binding of COMMAND is looked up in the menu bar in MAP (default