From: Dave Love Date: Mon, 9 Oct 2000 17:56:11 +0000 (+0000) Subject: (tool-bar-add-item-from-menu): Add autoload cookie. X-Git-Tag: emacs-pretest-21.0.90~999 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2156508dfa1b52469eec287308695c5c6cb1220;p=emacs.git (tool-bar-add-item-from-menu): Add autoload cookie. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d42edba344e..991e51b727f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el index f22f5796be6..c1d9f6ab6d4 100644 --- a/lisp/toolbar/tool-bar.el +++ b/lisp/toolbar/tool-bar.el @@ -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