[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7fd3f0b: Fix gnus-cloud-download-all-data return value

From: Teodor Zlatanov
Subject: master 7fd3f0b: Fix gnus-cloud-download-all-data return value
Date: Tue, 23 Jun 2020 09:14:01 -0400 (EDT)

branch: master
commit 7fd3f0b3812f022bd63fc0cd202be793aae266c4
Author: David Edmondson <dme@dme.org>
Commit: Ted Zlatanov <tzz@lifelogs.com>

    Fix gnus-cloud-download-all-data return value
    * lisp/gnus/gnus-cloud.el (gnus-cloud-download-data): Return the
    result of calling `gnus-cloud-update-all' when UPDATE is t, as per the
    documented behaviour. (Bug#40280)
 lisp/gnus/gnus-cloud.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el
index 5028da5..f730518 100644
--- a/lisp/gnus/gnus-cloud.el
+++ b/lisp/gnus/gnus-cloud.el
@@ -478,8 +478,8 @@ Otherwise, returns the Gnus Cloud data chunks."
           (push (gnus-cloud-parse-chunk) chunks)
           (forward-line 1))))
     (if update
-        (progn
-         (mapc #'gnus-cloud-update-all chunks)
+        (prog1
+         (mapcar #'gnus-cloud-update-all chunks)
          (setq gnus-cloud-sequence highest-sequence-seen))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]