From: Jan Djärv Date: Tue, 8 Jun 2004 17:53:11 +0000 (+0000) Subject: Better documentation. X-Git-Tag: ttn-vms-21-2-B4~5871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=968d61278d947f8b247dd104c5f65af3d6daf33d;p=emacs.git Better documentation. --- diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el index 7ded78b80e1..27706f0d725 100644 --- a/lisp/toolbar/tool-bar.el +++ b/lisp/toolbar/tool-bar.el @@ -96,7 +96,8 @@ PROPS are additional items to add to the menu item specification. See Info node `(elisp)Tool Bar'. Items are added from left to right. ICON is the base name of a file containing the image to use. The -function will first try to use ICON.xpm, then ICON.pbm, and finally +function will first try to use ICON-locol.xpm if display-color-cells +is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally ICON.xbm, using `find-image'. Use this function only to make bindings in the global value of `tool-bar-map'. @@ -112,7 +113,8 @@ PROPS are additional items to add to the menu item specification. See Info node `(elisp)Tool Bar'. Items are added from left to right. ICON is the base name of a file containing the image to use. The -function will first try to use ICON.xpm, then ICON.pbm, and finally +function will first try to use ICON-locol.xpm if display-color-cells +is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally ICON.xbm, using `find-image'." (let* ((fg (face-attribute 'tool-bar :foreground)) (bg (face-attribute 'tool-bar :background))