mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-16 17:19:41 +00:00
gnus-art.el (gnus-article-browse-delete-temp-files): Fix previous commit
This commit is contained in:
parent
2eff54ba3d
commit
5c11868cad
@ -2759,14 +2759,12 @@ summary buffer."
|
||||
(progn
|
||||
(or how (setq how gnus-article-browse-delete-temp))
|
||||
(if (eq how 'ask)
|
||||
(let* ((files (length gnus-article-browse-html-temp-list))
|
||||
(ans (gnus-y-or-n-p
|
||||
(if (= files 1)
|
||||
"Delete the temporary HTML file? "
|
||||
(format
|
||||
"Delete all %s temporary HTML files? "
|
||||
files)))))
|
||||
(or ans
|
||||
(let ((files (length gnus-article-browse-html-temp-list)))
|
||||
(or (gnus-y-or-n-p
|
||||
(if (= files 1)
|
||||
"Delete the temporary HTML file? "
|
||||
(format "Delete all %s temporary HTML files? "
|
||||
files)))
|
||||
(setq gnus-article-browse-html-temp-list nil)))
|
||||
how)))
|
||||
(dolist (file gnus-article-browse-html-temp-list)
|
||||
|
Loading…
Reference in New Issue
Block a user