From 127951fd7c8f95e62131cddb0f6badf5588b0452 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Wed, 8 Jul 2015 12:14:49 +0800 Subject: [PATCH 2/2] Handle nil info argument to nnimap-request-group * lisp/nnimap.el (nnimap-request-group): Some functions call this with the INFO argument set to nil. --- lisp/nnimap.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/nnimap.el b/lisp/nnimap.el index a1c2c1a..3c6df4d 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -803,6 +803,7 @@ textual parts.") nil group) server)) + (info (when info (list info))) active) (with-current-buffer nntp-server-buffer (when result @@ -810,8 +811,8 @@ textual parts.") (not (setq active (nth 2 (assoc group nnimap-current-infos))))) (let ((sequences (nnimap-retrieve-group-data-early - server (list info)))) - (nnimap-finish-retrieve-group-infos server (list info) sequences + server info))) + (nnimap-finish-retrieve-group-infos server info sequences t) (setq active (nth 2 (assoc group nnimap-current-infos))))) (erase-buffer) -- 2.4.5