From d368502524f4ef2e4c749d9a58235610391944e9 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 7 May 2021 18:09:33 -0400 Subject: [PATCH] Don't load `nm` if notmuch isn't installed --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 98f1d9f..48c9ffa 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -851,6 +851,7 @@ (unbind-key "C-c C-c" tern-mode-keymap)) (use-package nm + :if (executable-find "notmuch") :quelpa (nm :fetcher github :repo "ad1217/nevermore") :bind (:map nm-mode-map ("n" . nm-read)