2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * nnimap.el (nnimap-find-article-by-message-id): Really return the
+ article number.
+
* nntp.el (nntp-server-list-active-group): Document.
* nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
(nnimap-send-command "UID SEARCH HEADER Message-Id %S" message-id))
article result)
(setq result (nnimap-wait-for-response sequence))
- (when (car result)
+ (when (and result
+ (car (setq result (nnimap-parse-response))))
;; Select the last instance of the message in the group.
(and (setq article
(car (last (assoc "SEARCH" (cdr result)))))