+2012-09-25 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-art.el (gnus-article-browse-delete-temp-files): Never ask again
+ a user about whether to delete temp files if once a user answered as n.
+
2012-09-17 Richard Stallman <rms@gnu.org>
* message.el (message-in-body-p): Don't set mark or modify buffer.
(progn
(or how (setq how gnus-article-browse-delete-temp))
(if (eq how 'ask)
- (let ((files (length gnus-article-browse-html-temp-list)))
- (gnus-y-or-n-p
- (if (= files 1)
- "Delete the temporary HTML file? "
- (format "Delete all %s temporary HTML files? "
- files))))
+ (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
+ (setq gnus-article-browse-html-temp-list nil)))
how)))
(dolist (file gnus-article-browse-html-temp-list)
(cond ((file-directory-p file)