+2005-08-16 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-options.el (riece-data-directory): Use load-file-name.
+
2005-08-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
* riece-options.el (riece-data-directory): Avoid compile time
:group 'riece-options)
(defcustom riece-data-directory
- (cond ((fboundp 'locate-data-directory)
- (locate-data-directory "riece"))
- ((symbol-file 'riece-data-directory)
- (file-name-directory
- (locate-library (symbol-file 'riece-data-directory))))
- (t
- (expand-file-name "riece" data-directory)))
+ (if (fboundp 'locate-data-directory)
+ (locate-data-directory "riece")
+ (file-name-directory load-file-name))
"Where to look for data files."
:type 'directory
:group 'riece-options)