[gnus git] branch master updated: m0-7-211-g70219a7 =1= mm-decode.el (mm-display-external): Try to delete temporary files by using a 1-min. timer
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 70219a78f539a29fc94c8a3591db58f1386099de (commit)
from 9c9b185102abe1d61db032674a559e9ffb0e0b61 (commit)
- Log -----------------------------------------------------------------
commit 70219a78f539a29fc94c8a3591db58f1386099de
Author: Katsumi Yamaoka <[email protected]>
Date: Mon Aug 12 01:03:16 2013 +0000
mm-decode.el (mm-display-external): Try to delete temporary files by using a 1-min. timer
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7123f7f..006b291 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-12 Katsumi Yamaoka <[email protected]>
+
+ * mm-decode.el (mm-display-external): Try to delete temporary files by
+ using a 1-min. timer.
+
2013-08-09 Katsumi Yamaoka <[email protected]>
* mm-decode.el (mm-temp-files-to-be-deleted, mm-temp-files-cache-file):
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index f1e11a0..40c1d84 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -1021,6 +1021,13 @@ external if displayed external."
(buffer buffer)
(command command)
(handle handle))
+ (run-at-time
+ 60.0 nil
+ (lambda ()
+ (ignore-errors
+ (delete-file file))
+ (ignore-errors
+ (delete-directory (file-name-directory file)))))
(lambda (process state)
(when (eq (process-status process) 'exit)
(when (buffer-live-p outbuf)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/mm-decode.el | 7 +++++++
2 files changed, 12 insertions(+), 0 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project