Adjust deletion timeout upwards for slow programs
authorBrian Sniffen <bsniffen@akamai.com>
Fri, 6 Jan 2012 18:41:15 +0000 (19:41 +0100)
committerLars Magne Ingebrigtsen <larsi@stories.(none)>
Fri, 6 Jan 2012 18:41:15 +0000 (19:41 +0100)
* mm-decode.el (mm-display-external): Use a longer timeout for the
deletion to allow slow programs to display the file.

lisp/ChangeLog
lisp/mm-decode.el

index 9372044..730b6dd 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-06  Brian Sniffen  <bsniffen@akamai.com>  (tiny change)
+
+       * mm-decode.el (mm-display-external): Use a longer timeout for the
+       deletion to allow slow programs to display the file.
+
 2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-art.el (gnus-article-browse-delete-temp-files): Fix up the
index ec8dd5b..23a442f 100644 (file)
@@ -942,7 +942,7 @@ external if displayed external."
                          ;; In particular, the timer object (which is
                          ;; a vector in Emacs but is a list in XEmacs)
                          ;; requires that it is lexically scoped.
-                         (timer (run-at-time 2.0 nil 'ignore)))
+                         (timer (run-at-time 30.0 nil 'ignore)))
                       (if (featurep 'xemacs)
                           (lambda (process state)
                             (when (eq 'exit (process-status process))