`elmo-maildir-flag-specs' element instead of one.
(elmo-map-folder-unset-flag): Ditto.
(Reported by Ken Makimura <macky@astem.or.jp>)
* elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
(elmo-folder-unset-flag-plugged): Ditto.
+2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
+ `elmo-maildir-flag-specs' element instead of one.
+ (elmo-map-folder-unset-flag): Ditto.
+ (Reported by Ken Makimura <macky@astem.or.jp>)
+
+ * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
+ (elmo-folder-unset-flag-plugged): Ditto.
+
2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-nntp.el (elmo-folder-list-flagged): Return a list according
numbers flag)
(let ((spec (cdr (assq flag elmo-imap4-flag-specs))))
(when spec
- (elmo-imap4-set-flag folder numbers (car spec) (cdr spec)))))
+ (elmo-imap4-set-flag folder numbers (car spec) (nth 1 spec)))))
(luna-define-method elmo-folder-unset-flag-plugged ((folder elmo-imap4-folder)
numbers flag)
(let ((spec (cdr (assq flag elmo-imap4-flag-specs))))
(when spec
- (elmo-imap4-set-flag folder numbers (car spec) (not (cdr spec))))))
+ (elmo-imap4-set-flag folder numbers (car spec) (not (nth 1 spec))))))
(luna-define-method elmo-message-use-cache-p ((folder elmo-imap4-folder)
number)
(luna-define-method elmo-map-folder-set-flag ((folder elmo-maildir-folder)
locations flag)
- (let ((spec (assq flag elmo-maildir-flag-specs)))
- (elmo-maildir-set-mark-messages folder locations (car spec) (cdr spec))))
+ (let ((spec (cdr (assq flag elmo-maildir-flag-specs))))
+ (when spec
+ (elmo-maildir-set-mark-messages folder locations
+ (car spec) (nth 1 spec)))))
(luna-define-method elmo-map-folder-unset-flag ((folder elmo-maildir-folder)
locations flag)
- (let ((spec (assq flag elmo-maildir-flag-specs)))
- (elmo-maildir-set-mark-messages folder locations
- (car spec) (not (cdr spec)))))
+ (let ((spec (cdr (assq flag elmo-maildir-flag-specs))))
+ (when spec
+ (elmo-maildir-set-mark-messages folder locations
+ (car spec) (not (nth 1 spec))))))
(luna-define-method elmo-folder-list-subfolders
((folder elmo-maildir-folder) &optional one-level)