From c2156508dfa1b52469eec287308695c5c6cb1220 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 9 Oct 2000 17:56:11 +0000 Subject: [PATCH] (tool-bar-add-item-from-menu): Add autoload cookie. --- lisp/ChangeLog | 1 + lisp/toolbar/tool-bar.el | 1 + 2 files changed, 2 insertions(+) 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 -- 2.39.2