mirror of https://github.com/djcb/mu.git
mu4e-compose: avoid find-file
Use find-file-noselect instead. Fixes #2644
This commit is contained in:
parent
51163f3e60
commit
1aad948293
|
@ -1002,8 +1002,10 @@ must be from current user, as determined through
|
|||
(mu4e--compose-setup
|
||||
'edit
|
||||
(lambda (parent)
|
||||
(find-file (plist-get parent :path))
|
||||
(mu4e--delimit-headers)))))
|
||||
(let ((buf (find-file (plist-get parent :path))))
|
||||
(with-current-buffer buf
|
||||
(mu4e--delimit-headers))
|
||||
buf)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun mu4e-compose-resend (address)
|
||||
|
|
Loading…
Reference in New Issue