doomemacs/modules/email/mu4e/doctor.el
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00

15 lines
559 B
EmacsLisp

;;; email/mu4e/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "mu")
(warn! "Couldn't find mu command. Mu4e requires this to work."))
(unless (or (executable-find "mbsync")
(executable-find "offlineimap"))
(warn! "Couldn't find mbsync or offlineimap command. \
You may not have a way of fetching mail."))
(when (and (modulep! +org)
(not IS-WINDOWS))
(unless (executable-find "identify")
(warn! "Couldn't find the identify command from imagemagick. \
LaTeX fragment re-scaling with org-msg will not work.")))