aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ponce2006-03-14 10:20:51 +0000
committerDavid Ponce2006-03-14 10:20:51 +0000
commit37d2ef66f705b72f9937740a6455c57e99cfce05 (patch)
tree12def63cbc090a44164e5e5b6bfbbf5bcd4eb736
parentd46954879152487971c5912670829f3a82ece380 (diff)
downloademacs-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.el26
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.
144Each element is an expression that will be evaluated to return a 144Each element is an expression that will be recursively evaluated until
145single directory or a list of directories to search. 145it returns a single directory or a list of directories.
146
147The default is to search in the `load-path' first, then in the 146The 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
149directory. 148directory.
@@ -152,23 +151,22 @@ Emacs, and what `(locate-data-directory \"tree-widget\")' returns on
152XEmacs.") 151XEmacs.")
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.
156When nil use the directory where the tree-widget library is located. 155When nil use the directory where the tree-widget library is located.
157When a relative name is specified, search in all occurrences of that 156When it is a relative name, search in all occurrences of that sub
158sub directory found in the locations specified in 157directory in the path specified by `tree-widget-themes-load-path'.
159`tree-widget-themes-load-path'.
160The default is to use the \"tree-widget\" relative name." 158The 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.
168It must be a sub directory in the directories specified in variable 166This 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.
170When an image is not found in a theme, it is searched in the parent 168The default theme is \"default\". When an image is not found in a
171theme. 169theme, it is searched in its parent theme.
172 170
173A complete theme must at least contain images with these file names 171A complete theme must at least contain images with these file names
174with a supported extension (see also `tree-widget-image-formats'): 172with a supported extension (see also `tree-widget-image-formats'):