diff options
| author | David Edmondson | 2020-06-23 12:52:34 +0100 |
|---|---|---|
| committer | Ted Zlatanov | 2020-06-23 09:12:32 -0400 |
| commit | 7fd3f0b3812f022bd63fc0cd202be793aae266c4 (patch) | |
| tree | fcf08a59e5b94cdde8029e17906085717ad34406 | |
| parent | 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1 (diff) | |
| download | emacs-7fd3f0b3812f022bd63fc0cd202be793aae266c4.tar.gz emacs-7fd3f0b3812f022bd63fc0cd202be793aae266c4.zip | |
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)
| -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." | |||
| 478 | (push (gnus-cloud-parse-chunk) chunks) | 478 | (push (gnus-cloud-parse-chunk) chunks) |
| 479 | (forward-line 1)))) | 479 | (forward-line 1)))) |
| 480 | (if update | 480 | (if update |
| 481 | (progn | 481 | (prog1 |
| 482 | (mapc #'gnus-cloud-update-all chunks) | 482 | (mapcar #'gnus-cloud-update-all chunks) |
| 483 | (setq gnus-cloud-sequence highest-sequence-seen)) | 483 | (setq gnus-cloud-sequence highest-sequence-seen)) |
| 484 | chunks))) | 484 | chunks))) |
| 485 | 485 | ||