nnimap.el (nnimap-request-set-mark): Add is "+", not "-".

This commit is contained in:
Lars Magne Ingebrigtsen 2010-11-26 02:17:55 +00:00 committed by Katsumi Yamaoka
parent 5f285722b6
commit 57cc52bed4
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
* gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
'add and 'delete to set backend marks.

View file

@ -928,6 +928,7 @@ textual parts.")
flags))
(deffoo nnimap-request-set-mark (group actions &optional server)
(debug)
(when (nnimap-possibly-change-group group server)
(let (sequence)
(with-current-buffer (nnimap-buffer)
@ -943,7 +944,7 @@ textual parts.")
(nnimap-article-ranges range)
(cond
((eq action 'del) "-")
((eq action 'add) "-")
((eq action 'add) "+")
((eq action 'set) ""))
(mapconcat #'identity flags " ")))))))
;; Wait for the last command to complete to avoid later