mu4e: fix some warnings on older emacsen

This commit is contained in:
Dirk-Jan C. Binnema
2024-04-04 19:12:54 +03:00
parent 7688a2b548
commit 7771a56026
4 changed files with 8 additions and 6 deletions

View File

@ -392,7 +392,7 @@ status, STATUS."
((looking-back "mime:\\([a-zA-Z0-9/-]*\\)" nil)
(list (match-beginning 1)
(match-end 1)
(mailcap-mime-types)))
(when (fboundp 'mailcap-mime-types) (mailcap-mime-types))))
((looking-back "\\(from\\|to\\|cc\\|bcc\\|contact\\|recip\\):\\([a-zA-Z0-9/.@]*\\)" nil)
(list (match-beginning 2)
(match-end 2)