diff options
| -rw-r--r-- | lisp/gnus/nnimap.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index d4681e2b436..1ec5522831d 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1189,11 +1189,11 @@ If LIMIT, first try to limit the search to the N last articles." | |||
| 1189 | ;; response. If they're successful, they're successful. | 1189 | ;; response. If they're successful, they're successful. |
| 1190 | (dolist (action actions) | 1190 | (dolist (action actions) |
| 1191 | (cl-destructuring-bind (range action marks) action | 1191 | (cl-destructuring-bind (range action marks) action |
| 1192 | ;; If we add/remove a tick mark, then do the same with the | 1192 | ;; If we add a tick mark, then also mark the message as |
| 1193 | ;; readedness mark on the IMAP server. Other IMAP clients | 1193 | ;; read. Other IMAP clients can have marked messages |
| 1194 | ;; can have marked messages without having them read, but | 1194 | ;; without having them read, but Gnus can't. |
| 1195 | ;; Gnus can't. | 1195 | (when (and (memq 'tick marks) |
| 1196 | (when (memq 'tick marks) | 1196 | (eq action 'add)) |
| 1197 | (push 'read marks)) | 1197 | (push 'read marks)) |
| 1198 | (let ((flags (nnimap-marks-to-flags marks))) | 1198 | (let ((flags (nnimap-marks-to-flags marks))) |
| 1199 | (when flags | 1199 | (when flags |