summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-12 19:18:28 +0200
committerAlan Pearce2019-09-12 19:19:18 +0200
commit724f8d832c143e035a82ec283133988ac3c4ee75 (patch)
treeaf16bddac189d08ffb18ed47e7f82cc67c8034ab
parent3db3d56969df36237354da5493385dde342027f9 (diff)
downloaddotfiles-724f8d832c143e035a82ec283133988ac3c4ee75.tar.lz
dotfiles-724f8d832c143e035a82ec283133988ac3c4ee75.tar.zst
dotfiles-724f8d832c143e035a82ec283133988ac3c4ee75.zip
Emacs: Disable mu4e if missing mu
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 36281ab..09519f1 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -686,6 +686,7 @@ With two prefix arguments, write out the day and month name."
 (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")