Fix typo in last checkin.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 16 Dec 2010 17:14:47 +0000 (18:14 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 16 Dec 2010 17:14:47 +0000 (18:14 +0100)
lisp/nnimap.el

index 4eb904e..d1d6d05 100644 (file)
@@ -907,7 +907,8 @@ textual parts.")
                    '((subscribe "SUBSCRIBE")
                      (unsubscribe "UNSUBSCRIBE")))))
       (when command
-       (nnimap-command "%s %S" command (utf7-encode group t))))))
+       (with-current-buffer (nnimap-buffer)
+         (nnimap-command "%s %S" (cadr command) (utf7-encode group t)))))))
 
 (deffoo nnimap-request-set-mark (group actions &optional server)
   (when (nnimap-possibly-change-group group server)