diff options
author | Franck Cuny <franck@fcuny.net> | 2021-09-24 16:04:25 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-09-24 16:04:25 -0700 |
commit | ff4784fbafa98af3f8401b7fc4f693a8fe2522ee (patch) | |
tree | 605907fa055147394c22cd239a36fb3d3762335f | |
parent | emacs: add package eshell-bookmark (diff) | |
download | emacs.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.
-rw-r--r-- | emacs/custom/fcuny-notmuch.el | 3 |
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) |