diff options
| author | Jan Djärv | 2004-06-08 17:53:11 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-06-08 17:53:11 +0000 |
| commit | 968d61278d947f8b247dd104c5f65af3d6daf33d (patch) | |
| tree | a3c32c2d81b6e0df90ef45d0b8a98d00ad6d5dd1 | |
| parent | 9757a56b6d2bfd831d2c63b5738a79fc50c3779d (diff) | |
| download | emacs-968d61278d947f8b247dd104c5f65af3d6daf33d.tar.gz emacs-968d61278d947f8b247dd104c5f65af3d6daf33d.zip | |
Better documentation.
| -rw-r--r-- | lisp/toolbar/tool-bar.el | 6 |
1 files changed, 4 insertions, 2 deletions
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 | |||
| 96 | Info node `(elisp)Tool Bar'. Items are added from left to right. | 96 | Info node `(elisp)Tool Bar'. Items are added from left to right. |
| 97 | 97 | ||
| 98 | ICON is the base name of a file containing the image to use. The | 98 | ICON is the base name of a file containing the image to use. The |
| 99 | function will first try to use ICON.xpm, then ICON.pbm, and finally | 99 | function will first try to use ICON-locol.xpm if display-color-cells |
| 100 | is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally | ||
| 100 | ICON.xbm, using `find-image'. | 101 | ICON.xbm, using `find-image'. |
| 101 | 102 | ||
| 102 | Use this function only to make bindings in the global value of `tool-bar-map'. | 103 | 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 | |||
| 112 | Info node `(elisp)Tool Bar'. Items are added from left to right. | 113 | Info node `(elisp)Tool Bar'. Items are added from left to right. |
| 113 | 114 | ||
| 114 | ICON is the base name of a file containing the image to use. The | 115 | ICON is the base name of a file containing the image to use. The |
| 115 | function will first try to use ICON.xpm, then ICON.pbm, and finally | 116 | function will first try to use ICON-locol.xpm if display-color-cells |
| 117 | is less or equal to 256, then ICON.xpm, then ICON.pbm, and finally | ||
| 116 | ICON.xbm, using `find-image'." | 118 | ICON.xbm, using `find-image'." |
| 117 | (let* ((fg (face-attribute 'tool-bar :foreground)) | 119 | (let* ((fg (face-attribute 'tool-bar :foreground)) |
| 118 | (bg (face-attribute 'tool-bar :background)) | 120 | (bg (face-attribute 'tool-bar :background)) |