mu4e: better handling of closing compose frames

Use message-mode actions to close the compose
frame (`mu4e-compose-in-new-frame') whenever we're finished editing a
message.
This commit is contained in:
djcb
2016-02-20 12:25:21 +02:00
parent ace2f2ad2c
commit a0f0e95344
2 changed files with 10 additions and 11 deletions

View File

@ -404,7 +404,7 @@ fields will be the same as in the original."
(defun mu4e~draft-open-file (path)
"Open the the draft file at PATH."
(if (and mu4e-compose-in-new-frame (window-system))
(if mu4e-compose-in-new-frame
(find-file-other-frame path)
(find-file path)))