Skip to content

Commit

Permalink
mu4e-compose: use find-file-noselect for edit
Browse files Browse the repository at this point in the history
Oops! This was missing for #2644
  • Loading branch information
djcb committed Apr 10, 2024
1 parent 6a12137 commit 8c29ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mu4e/mu4e-compose.el
Original file line number Diff line number Diff line change
Expand Up @@ -985,10 +985,10 @@ must be from current user, as determined through
(mu4e--compose-setup
'edit
(lambda (parent)
(let ((buf (find-file (plist-get parent :path))))
(let ((buf (find-file-noselect (plist-get parent :path))))
(with-current-buffer buf
(mu4e--delimit-headers))
buf)))))
(switch-to-buffer buf))))))

;;;###autoload
(defun mu4e-compose-resend (address)
Expand Down

0 comments on commit 8c29ed5

Please sign in to comment.