aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
authorPaul Eggert2020-01-05 11:48:59 -0800
committerPaul Eggert2020-01-05 11:50:31 -0800
commit088bfcc2d80eed44864147f3491eff69e4eb5cd8 (patch)
treea57599fb3064d09c38eec4ddd9cded8a3df72e6c /lisp/gnus
parent448df8fec7a7fb3fe558749591e657e8a84cb46b (diff)
downloademacs-088bfcc2d80eed44864147f3491eff69e4eb5cd8.tar.gz
emacs-088bfcc2d80eed44864147f3491eff69e4eb5cd8.zip
Move “Fix some broken conditional forms” to master
Revert 2020-01-04T19:17:12Z!eggert@cs.ucla.edu which recently I installed into the emacs-27 branch by mistake. These patches are now on master instead (via merging). Do not merge to master.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gnus-cloud.el8
-rw-r--r--lisp/gnus/mml-smime.el11
2 files changed, 12 insertions, 7 deletions
diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el
index 4d8764bacca..cecfaef2f4f 100644
--- a/lisp/gnus/gnus-cloud.el
+++ b/lisp/gnus/gnus-cloud.el
@@ -243,10 +243,10 @@ Use old data if FORCE-OLDER is not nil."
243 (when (or (not gnus-cloud-interactive) 243 (when (or (not gnus-cloud-interactive)
244 (gnus-y-or-n-p 244 (gnus-y-or-n-p
245 (format "%s has older different info in the cloud as of %s, update it here? " 245 (format "%s has older different info in the cloud as of %s, update it here? "
246 group date))) 246 group date))))
247 (gnus-message 2 "Installing cloud update of group %s" group) 247 (gnus-message 2 "Installing cloud update of group %s" group)
248 (gnus-set-info group contents) 248 (gnus-set-info group contents)
249 (gnus-group-update-group group)))) 249 (gnus-group-update-group group)))
250 (gnus-error 1 "Sorry, group %s is not subscribed" group)) 250 (gnus-error 1 "Sorry, group %s is not subscribed" group))
251 (gnus-error 1 "Sorry, could not update newsrc for group %s (invalid data %S)" 251 (gnus-error 1 "Sorry, could not update newsrc for group %s (invalid data %S)"
252 group elem)))) 252 group elem))))
diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el
index 4754f37a2da..3cc463d5d4c 100644
--- a/lisp/gnus/mml-smime.el
+++ b/lisp/gnus/mml-smime.el
@@ -154,9 +154,14 @@ Whether the passphrase is cached at all is controlled by
154 (write-region (point-min) (point-max) file)) 154 (write-region (point-min) (point-max) file))
155 (push file certfiles) 155 (push file certfiles)
156 (push file tmpfiles))) 156 (push file tmpfiles)))
157 (smime-encrypt-buffer certfiles) 157 (if (smime-encrypt-buffer certfiles)
158 (while (setq tmp (pop tmpfiles)) 158 (progn
159 (delete-file tmp))) 159 (while (setq tmp (pop tmpfiles))
160 (delete-file tmp))
161 t)
162 (while (setq tmp (pop tmpfiles))
163 (delete-file tmp))
164 nil))
160 (goto-char (point-max))) 165 (goto-char (point-max)))
161 166
162(defvar gnus-extract-address-components) 167(defvar gnus-extract-address-components)