all repos — nixfiles @ 724f8d832c143e035a82ec283133988ac3c4ee75

System and user configuration, managed by nix and home-manager

Emacs: Disable mu4e if missing mu
Alan Pearce alan@alanpearce.eu
Thu, 12 Sep 2019 19:18:28 +0200
commit

724f8d832c143e035a82ec283133988ac3c4ee75

parent

3db3d56969df36237354da5493385dde342027f9

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -686,6 +686,7 @@ (declare-function sendmail-send-it "sendmail") (setq send-mail-function #'sendmail-send-it)
 
 (use-package mu4e
+  :if (executable-find "mu")
   :init (setq mail-user-agent #'mu4e-user-agent)
   :custom ((mu4e-completing-read-function #'ivy-completing-read)
            (mu4e-maildir "~/mail")