Commit b73cde5e authored by Mike Kupfer's avatar Mike Kupfer

Fix MH-E mail composition with GNU Mailutils (SF#485)

* lisp/mh-e/mh-comp.el (mh-bare-components): Recursively delete
the temporary folder.
parent 0dce5e59
......@@ -925,8 +925,10 @@ CONFIG is the window configuration before sending mail."
(list "-form" mh-comp-formfile)))
(setq new (make-temp-file "comp."))
(rename-file (concat temp-folder "/" "1") new t)
(delete-file (concat temp-folder "/" ".mh_sequences"))
(delete-directory temp-folder)
;; The temp folder could contain various metadata files. Rather
;; than trying to enumerate all the known files, just do a
;; recursive delete on the directory.
(delete-directory temp-folder t)
new))
(defun mh-read-draft (use initial-contents delete-contents-file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment