aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2004-06-08 17:53:11 +0000
committerJan Djärv <[email protected]>2004-06-08 17:53:11 +0000
commit968d61278d947f8b247dd104c5f65af3d6daf33d (patch)
treea3c32c2d81b6e0df90ef45d0b8a98d00ad6d5dd1 /lisp
parent9757a56b6d2bfd831d2c63b5738a79fc50c3779d (diff)
Better documentation.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/toolbar/tool-bar.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el
index 7ded78b80e..27706f0d72 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))