Skip to content

Commit

Permalink
Merge pull request #2591 from Chris00/master
Browse files Browse the repository at this point in the history
Fix mu4e-compose-mail and some warnings
  • Loading branch information
djcb authored Nov 8, 2023
2 parents ea7c05c + 0941b37 commit 4845872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mu4e/mu4e-compose.el
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ they do not conflict with mu4e inner workings."
;; this case, but let's prepare for the re-edit case as well
(mu4e--compose-setup
'new
(lambda (_parent)
(lambda (_parent _orig)
(message-mail to subject other-headers continue nil
yank-action send-actions return-action))
switch-function))
Expand Down
4 changes: 2 additions & 2 deletions mu4e/mu4e-contrib.el
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ the file."
(file-directory-p f))
nil
(expand-file-name f)))
(eshell-flatten-list (reverse args))))))
(mu4e--flatten-list (reverse args))))))
;; warn if user tries to attach without any files marked
(if (null files-to-attach)
(error "No files to attach")
Expand Down Expand Up @@ -189,7 +189,7 @@ the file."
(goto-char (point-max)) ; attach at end of buffer
(while files-to-attach
(mml-attach-file (car files-to-attach)
(or (mm-default-file-encoding
(or (mu4e--mm-default-file-type
(car files-to-attach))
"application/octet-stream") nil)
(setq files-to-attach (cdr files-to-attach)))
Expand Down

0 comments on commit 4845872

Please sign in to comment.