Don't load nm if notmuch isn't installed

This commit is contained in:
Adam Goldsmith 2021-05-07 18:09:33 -04:00
parent 37a9f6c754
commit d368502524

View File

@ -851,6 +851,7 @@
(unbind-key "C-c C-c" tern-mode-keymap)) (unbind-key "C-c C-c" tern-mode-keymap))
(use-package nm (use-package nm
:if (executable-find "notmuch")
:quelpa (nm :fetcher github :repo "ad1217/nevermore") :quelpa (nm :fetcher github :repo "ad1217/nevermore")
:bind (:map nm-mode-map :bind (:map nm-mode-map
("n" . nm-read) ("n" . nm-read)