From: Knut Anders Hatlen Date: Sat, 30 Oct 2010 12:54:28 +0000 (+0000) Subject: nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be set on groups... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~422^2~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e961f101bfecf496850df9415ae79d37a5c0170;p=emacs.git nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be set on groups that don't have \* permanentflags. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 00451f7e6bd..00fcc7f3a50 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2010-10-30 Knut Anders Hatlen (tiny change) + + * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be + set on groups that don't have \* permanentflags. + 2010-10-30 Lars Magne Ingebrigtsen * shr.el (shr-tag-span): Drop colorisation of regions since we don't diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 37956058f0e..98839e20708 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1203,7 +1203,8 @@ textual parts.") (setq marks (gnus-info-marks info)) (dolist (type (cdr nnimap-mark-alist)) (when (or (not (listp permanent-flags)) - (memq (assoc (caddr type) flags) permanent-flags) + (memq (car (assoc (caddr type) flags)) + permanent-flags) (memq '%* permanent-flags)) (let ((old-marks (assoc (car type) marks)) (new-marks