mirror of https://github.com/djcb/mu.git
mu4e: auto-delete after 30 secs instead of 10
Don't auto-delete files too soon (before they can be used), even on slower systems.
This commit is contained in:
parent
fb09af4215
commit
87ed69ee03
|
@ -146,7 +146,7 @@ return the result."
|
|||
(defun mu4e-remove-file-later (filename)
|
||||
"Remove FILENAME in a few seconds."
|
||||
(lexical-let ((filename filename))
|
||||
(run-at-time "10 sec" nil
|
||||
(run-at-time "30 sec" nil
|
||||
(lambda () (ignore-errors (delete-file filename))))))
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue