+2005-02-03 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-addon.el (riece-resolve-addon-dependencies): Rename from
+ riece-resolve-addon.
+ (riece-resolve-addon): Append add-ons under riece-addon-directory.
+
2005-02-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
* riece-message.el (riece-display-message): When filter-function
(setq addons (cdr addons)))
dependencies))
-(defun riece-resolve-addons (addons)
+(defun riece-resolve-addon-dependencies (addons)
(let ((pointer addons)
dependencies queue)
;; Uniquify, first.
(error "Circular add-on dependency found"))
(nreverse addons)))
+(defun riece-resolve-addon (addons)
+ (riece-resolve-addon-dependencies
+ (append addons
+ (mapcar
+ (lambda (name)
+ (intern (file-name-sans-extension name)))
+ (directory-files riece-addon-directory nil "\\`[^.]" t t)))))
+
(defun riece-insinuate-addon (addon &optional verbose)
(require addon) ;implicit dependency
(funcall (intern (concat (symbol-name addon) "-insinuate")))