From ff4784fbafa98af3f8401b7fc4f693a8fe2522ee Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 24 Sep 2021 16:04:25 -0700 Subject: emacs: fix the configuration for notmuch We need a `provide` and we should only configure it if the binary is present. --- emacs/custom/fcuny-notmuch.el | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit 1.4.1