diff options
author | David Ponce <david@dponce.com> | 2006-03-14 10:20:51 +0000 |
---|---|---|
committer | David Ponce <david@dponce.com> | 2006-03-14 10:20:51 +0000 |
commit | 37d2ef66f705b72f9937740a6455c57e99cfce05 (patch) | |
tree | 12def63cbc090a44164e5e5b6bfbbf5bcd4eb736 /lisp/tree-widget.el | |
parent | d46954879152487971c5912670829f3a82ece380 (diff) | |
download | emacs-37d2ef66f705b72f9937740a6455c57e99cfce05.tar.gz |
(tree-widget-themes-load-path)
(tree-widget-themes-directory, tree-widget-theme): Doc fix.
Diffstat (limited to 'lisp/tree-widget.el')
-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 @@ data-directory))) (and dir (list dir (expand-file-name "images" dir)))) ) - "List of locations where to search for the themes sub-directory. -Each element is an expression that will be evaluated to return a -single directory or a list of directories to search. - + "List of locations in which to search for the themes sub-directory. +Each element is an expression that will be recursively evaluated until +it returns a single directory or a list of directories. The default is to search in the `load-path' first, then in the \"images\" sub directory in the data directory, then in the data directory. @@ -152,23 +151,22 @@ Emacs, and what `(locate-data-directory \"tree-widget\")' returns on XEmacs.") (defcustom tree-widget-themes-directory "tree-widget" - "*Name of the directory where to look up for image themes. + "*Name of the directory in which to look for an image theme. When nil use the directory where the tree-widget library is located. -When a relative name is specified, search in all occurrences of that -sub directory found in the locations specified in -`tree-widget-themes-load-path'. +When it is a relative name, search in all occurrences of that sub +directory in the path specified by `tree-widget-themes-load-path'. The default is to use the \"tree-widget\" relative name." :type '(choice (const :tag "Default" "tree-widget") - (const :tag "With the library" nil) + (const :tag "Where is this library" nil) (directory :format "%{%t%}:\n%v")) :group 'tree-widget) (defcustom tree-widget-theme nil - "*Name of the theme where to look up for images. -It must be a sub directory in the directories specified in variable -`tree-widget-themes-directory'. The default theme is \"default\". -When an image is not found in a theme, it is searched in the parent -theme. + "*Name of the theme in which to look for images. +This is a sub directory of the themes directory specified by the +`tree-widget-themes-directory' option. +The default theme is \"default\". When an image is not found in a +theme, it is searched in its parent theme. A complete theme must at least contain images with these file names with a supported extension (see also `tree-widget-image-formats'): |