diff options
| author | David Ponce | 2006-03-14 10:20:51 +0000 |
|---|---|---|
| committer | David Ponce | 2006-03-14 10:20:51 +0000 |
| commit | 37d2ef66f705b72f9937740a6455c57e99cfce05 (patch) | |
| tree | 12def63cbc090a44164e5e5b6bfbbf5bcd4eb736 | |
| parent | d46954879152487971c5912670829f3a82ece380 (diff) | |
| download | emacs-37d2ef66f705b72f9937740a6455c57e99cfce05.tar.gz emacs-37d2ef66f705b72f9937740a6455c57e99cfce05.zip | |
(tree-widget-themes-load-path)
(tree-widget-themes-directory, tree-widget-theme): Doc fix.
| -rw-r--r-- | lisp/tree-widget.el | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el index 4588cc78994..5fcb2dc8bf1 100644 --- a/lisp/tree-widget.el +++ b/lisp/tree-widget.el | |||
| @@ -140,10 +140,9 @@ | |||
| 140 | data-directory))) | 140 | data-directory))) |
| 141 | (and dir (list dir (expand-file-name "images" dir)))) | 141 | (and dir (list dir (expand-file-name "images" dir)))) |
| 142 | ) | 142 | ) |
| 143 | "List of locations where to search for the themes sub-directory. | 143 | "List of locations in which to search for the themes sub-directory. |
| 144 | Each element is an expression that will be evaluated to return a | 144 | Each element is an expression that will be recursively evaluated until |
| 145 | single directory or a list of directories to search. | 145 | it returns a single directory or a list of directories. |
| 146 | |||
| 147 | The default is to search in the `load-path' first, then in the | 146 | The default is to search in the `load-path' first, then in the |
| 148 | \"images\" sub directory in the data directory, then in the data | 147 | \"images\" sub directory in the data directory, then in the data |
| 149 | directory. | 148 | directory. |
| @@ -152,23 +151,22 @@ Emacs, and what `(locate-data-directory \"tree-widget\")' returns on | |||
| 152 | XEmacs.") | 151 | XEmacs.") |
| 153 | 152 | ||
| 154 | (defcustom tree-widget-themes-directory "tree-widget" | 153 | (defcustom tree-widget-themes-directory "tree-widget" |
| 155 | "*Name of the directory where to look up for image themes. | 154 | "*Name of the directory in which to look for an image theme. |
| 156 | When nil use the directory where the tree-widget library is located. | 155 | When nil use the directory where the tree-widget library is located. |
| 157 | When a relative name is specified, search in all occurrences of that | 156 | When it is a relative name, search in all occurrences of that sub |
| 158 | sub directory found in the locations specified in | 157 | directory in the path specified by `tree-widget-themes-load-path'. |
| 159 | `tree-widget-themes-load-path'. | ||
| 160 | The default is to use the \"tree-widget\" relative name." | 158 | The default is to use the \"tree-widget\" relative name." |
| 161 | :type '(choice (const :tag "Default" "tree-widget") | 159 | :type '(choice (const :tag "Default" "tree-widget") |
| 162 | (const :tag "With the library" nil) | 160 | (const :tag "Where is this library" nil) |
| 163 | (directory :format "%{%t%}:\n%v")) | 161 | (directory :format "%{%t%}:\n%v")) |
| 164 | :group 'tree-widget) | 162 | :group 'tree-widget) |
| 165 | 163 | ||
| 166 | (defcustom tree-widget-theme nil | 164 | (defcustom tree-widget-theme nil |
| 167 | "*Name of the theme where to look up for images. | 165 | "*Name of the theme in which to look for images. |
| 168 | It must be a sub directory in the directories specified in variable | 166 | This is a sub directory of the themes directory specified by the |
| 169 | `tree-widget-themes-directory'. The default theme is \"default\". | 167 | `tree-widget-themes-directory' option. |
| 170 | When an image is not found in a theme, it is searched in the parent | 168 | The default theme is \"default\". When an image is not found in a |
| 171 | theme. | 169 | theme, it is searched in its parent theme. |
| 172 | 170 | ||
| 173 | A complete theme must at least contain images with these file names | 171 | A complete theme must at least contain images with these file names |
| 174 | with a supported extension (see also `tree-widget-image-formats'): | 172 | with a supported extension (see also `tree-widget-image-formats'): |