Mercurial > emacs
changeset 55988:2809c96660f4
Better documentation.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 08 Jun 2004 17:53:11 +0000 |
parents | ca5f0b9c97fe |
children | ec25f3ebecc4 |
files | lisp/toolbar/tool-bar.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/toolbar/tool-bar.el Tue Jun 08 17:48:36 2004 +0000 +++ b/lisp/toolbar/tool-bar.el Tue Jun 08 17:53:11 2004 +0000 @@ -96,7 +96,8 @@ 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 @@ 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))