:group 'wl)
(defcustom wl-icon-dir (if (fboundp 'locate-data-directory)
- (locate-data-directory "wl"))
- "*Icon directory (XEmacs)."
+ (locate-data-directory "wl")
+ (let ((icons (expand-file-name "wl/icons/"
+ data-directory)))
+ (if (file-directory-p icons)
+ icons)))
+ "*Icon directory (XEmacs or Emacs 21)."
:type '(choice (const :tag "none" nil)
string)
:group 'wl)