diff options
author | David Edmondson <dme@dme.org> | 2020-06-23 12:52:34 +0100 |
---|---|---|
committer | Ted Zlatanov <tzz@lifelogs.com> | 2020-06-23 09:12:32 -0400 |
commit | 7fd3f0b3812f022bd63fc0cd202be793aae266c4 (patch) | |
tree | fcf08a59e5b94cdde8029e17906085717ad34406 /lisp | |
parent | 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1 (diff) | |
download | emacs-7fd3f0b3812f022bd63fc0cd202be793aae266c4.tar.gz |
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)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus/gnus-cloud.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el index 5028da5e8df..f730518241d 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)) chunks))) |