* elmo-flag.el (elmo-global-flags-initialize): Don't include
authoryoichi <yoichi>
Mon, 14 Mar 2005 13:21:54 +0000 (13:21 +0000)
committeryoichi <yoichi>
Mon, 14 Mar 2005 13:21:54 +0000 (13:21 +0000)
member of elmo-local-flags.

elmo/ChangeLog
elmo/elmo-flag.el

index d28fdba..a2f7e52 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * elmo-flag.el (elmo-global-flags-initialize): Don't include
+       member of elmo-local-flags.
+
 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-version.el (elmo-version): Up to 2.15.0.
index cb2ebdc..826cd7d 100644 (file)
@@ -444,12 +444,14 @@ If optional IGNORE-PRESERVED is non-nil, preserved flags
 (defun elmo-global-flags-initialize (&optional additional-flags)
   (let ((dir (expand-file-name "flag" elmo-msgdb-directory)))
     (setq elmo-global-flags
-         (elmo-uniq-list
-          (append
-           elmo-global-flags
-           additional-flags
-           (mapcar 'intern
-                   (delete ".." (delete "." (directory-files dir)))))))))
+         (elmo-list-delete
+          elmo-local-flags
+          (elmo-uniq-list
+           (append
+            elmo-global-flags
+            additional-flags
+            (mapcar 'intern
+                    (delete ".." (delete "." (directory-files dir))))))))))
 
 ;;; To migrate from global mark folder
 (defvar elmo-global-mark-filename "global-mark"