+2004-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-summary.el (wl-summary-get-available-flags): Rewrite.
+
2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-summary.el (wl-summary-sync-marks): Remove condition which
reverse))
(defun wl-summary-get-available-flags (&optional include-specials)
- (if include-specials
- (elmo-uniq-list (append elmo-global-flag-list elmo-preserved-flags))
- (delq 'new (delq 'cached
- (elmo-uniq-list
- (append elmo-global-flag-list
- elmo-preserved-flags
- nil))))))
+ (let ((flags (elmo-uniq-list
+ (append elmo-global-flag-list
+ (copy-sequence elmo-preserved-flags))
+ #'delq)))
+ (if include-specials
+ flags
+ (delq 'new (delq 'cached flags)))))
(defun wl-summary-sync-marks ()
"Update persistent marks in summary."