* riece-addon.el (riece-resolve-addons): Fixed
authorkaoru <kaoru>
Thu, 17 Feb 2005 16:43:13 +0000 (16:43 +0000)
committerkaoru <kaoru>
Thu, 17 Feb 2005 16:43:13 +0000 (16:43 +0000)
avoid add directory to addons condition.

lisp/ChangeLog
lisp/riece-addon.el

index 260d297..7b7738c 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * riece-addon.el (riece-resolve-addons): Fixed
+       avoid add directory to addons condition.
+
 2005-02-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * riece-addon.el (riece-resolve-addons): Don't add directory to
index 0a5be0a..092e6a5 100644 (file)
        (append addons
               (mapcar
                (lambda (name)
-                 (unless (file-directory-p name)
+                 (unless (file-directory-p
+                          (expand-file-name name riece-addon-directory))
                    (intern (file-name-sans-extension name))))
                (directory-files riece-addon-directory nil "\\`[^.]" t)))
      addons)))