Skip to content

Commit

Permalink
mu4e: Fix warnings in contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Nov 2, 2023
1 parent 5b29ad8 commit f2c7f35
Showing 1 changed file with 2 additions and 2 deletions.
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 f2c7f35

Please sign in to comment.