mu4e: avoid byte-compiler warnings

This commit is contained in:
Dirk-Jan C. Binnema
2023-01-11 22:32:09 +02:00
parent 10041eb2e1
commit a629caef1a
2 changed files with 5 additions and 2 deletions

View File

@ -160,7 +160,7 @@ the file."
(file-directory-p f))
nil
(expand-file-name f)))
(mu4e--flatten-list (reverse args))))))
(eshell-flatten-list (reverse args))))))
;; warn if user tries to attach without any files marked
(if (null files-to-attach)
(error "No files to attach")
@ -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 (mu4e--mm-default-file-type
(or (mm-default-file-encoding
(car files-to-attach))
"application/octet-stream") nil)
(setq files-to-attach (cdr files-to-attach)))