changeset 111242:4ec0d0a0569f

nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be set on groups that don't have \* permanentflags.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sat, 30 Oct 2010 12:54:28 +0000
parents 07533ffce7c3
children 0989a3a741bd
files lisp/gnus/ChangeLog lisp/gnus/nnimap.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sat Oct 30 12:24:06 2010 +0000
+++ b/lisp/gnus/ChangeLog	Sat Oct 30 12:54:28 2010 +0000
@@ -1,3 +1,8 @@
+2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (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  <larsi@gnus.org>
 
 	* shr.el (shr-tag-span): Drop colorisation of regions since we don't
--- a/lisp/gnus/nnimap.el	Sat Oct 30 12:24:06 2010 +0000
+++ b/lisp/gnus/nnimap.el	Sat Oct 30 12:54:28 2010 +0000
@@ -1203,7 +1203,8 @@
 	      (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