+2005-02-07 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-addon.el (riece-resolve-addons): Check the existence of
+ riece-addon-directory.
+
2005-02-06 Daiki Ueno <ueno@unixuser.org>
* riece-filter.el (riece-filter): Modified regexp.
(defun riece-resolve-addons (addons)
(riece-resolve-addon-dependencies
- (append addons
- (mapcar
- (lambda (name)
- (intern (file-name-sans-extension name)))
- (directory-files riece-addon-directory nil "\\`[^.]" t)))))
+ (if (file-directory-p riece-addon-directory)
+ (append addons
+ (mapcar
+ (lambda (name)
+ (intern (file-name-sans-extension name)))
+ (directory-files riece-addon-directory nil "\\`[^.]" t)))
+ addons)))
(defun riece-insinuate-addon (addon &optional verbose)
(require addon) ;implicit dependency