[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 327accb: Fix nnimap lexical conversion problem
From: |
Lars Ingebrigtsen |
Subject: |
master 327accb: Fix nnimap lexical conversion problem |
Date: |
Thu, 27 May 2021 19:19:56 -0400 (EDT) |
branch: master
commit 327accb38f47d3a0903cf9a0d24d7d2bcbbec098
Author: Alex Bochannek <alex@bochannek.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix nnimap lexical conversion problem
* lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Fix problem
introduced when converting to lexical binding -- `set' alters the
dynamic value (bug#48577).
---
lisp/gnus/nnimap.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 570be49..f869f58 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1076,7 +1076,9 @@ during splitting, which may be slow."
"UID COPY %s %S")
(nnimap-article-ranges (gnus-compress-sequence articles))
(nnimap-group-to-imap (gnus-group-real-name
nnmail-expiry-target)))
- (set (if can-move 'deleted-articles 'articles-to-delete)
articles))))
+ (if can-move
+ (setq deleted-articles articles)
+ (setq articles-to-delete articles)))))
t)
(t
(dolist (article articles)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 327accb: Fix nnimap lexical conversion problem,
Lars Ingebrigtsen <=