]> git.eshelyaron.com Git - emacs.git/commitdiff
(tool-bar-add-item-from-menu): Add autoload cookie.
authorDave Love <fx@gnu.org>
Mon, 9 Oct 2000 17:56:11 +0000 (17:56 +0000)
committerDave Love <fx@gnu.org>
Mon, 9 Oct 2000 17:56:11 +0000 (17:56 +0000)
lisp/ChangeLog
lisp/toolbar/tool-bar.el

index d42edba344eba7896c7558f7fd6d5492ad899697..991e51b727f03b212634a085478eba65443761f8 100644 (file)
@@ -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>
 
index f22f5796be6b3c31eebf2e86b565f0656ed08592..c1d9f6ab6d4f304455e0554871037f390f19480d 100644 (file)
@@ -99,6 +99,7 @@ function."
       (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