summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-09-24 16:04:25 -0700
committerFranck Cuny <franck@fcuny.net>2021-09-24 16:04:25 -0700
commitff4784fbafa98af3f8401b7fc4f693a8fe2522ee (patch)
tree605907fa055147394c22cd239a36fb3d3762335f /emacs
parentemacs: add package eshell-bookmark (diff)
downloademacs.d-ff4784fbafa98af3f8401b7fc4f693a8fe2522ee.tar.gz
emacs: fix the configuration for notmuch
We need a `provide` and we should only configure it if the binary is
present.
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-notmuch.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-notmuch.el b/emacs/custom/fcuny-notmuch.el
index 2bc1b20..3e030ed 100644
--- a/emacs/custom/fcuny-notmuch.el
+++ b/emacs/custom/fcuny-notmuch.el
@@ -1,5 +1,8 @@
 (use-package notmuch
   :ensure t
+  :if (executable-find "notmuch")
   :custom
   (notmuch-show-logo nil)
   (notmuch-search-oldest-first nil))
+
+(provide 'fcuny-notmuch)