Skip to content

Commit

Permalink
[notmuch] Do not error if auto-completion layer not used
Browse files Browse the repository at this point in the history
  • Loading branch information
bcc32 authored and smile13241324 committed Sep 14, 2024
1 parent bcf4aee commit 3c8cb6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layers/+email/notmuch/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
(counsel-notmuch :requires ivy)
(helm-notmuch :requires helm)
(consult-notmuch :requires consult)
company
notmuch
org
persp-mode
Expand Down Expand Up @@ -155,9 +156,10 @@
(kbd "gr") 'notmuch-refresh-this-buffer
(kbd "gR") 'notmuch-refresh-all-buffers
(kbd "G") 'notmuch-search-last-thread
(kbd "M") 'compose-mail-other-frame)
(kbd "M") 'compose-mail-other-frame)))

(spacemacs|add-company-backends :backends notmuch-company :modes notmuch-message-mode)))
(defun notmuch/post-init-company ()
(spacemacs|add-company-backends :backends notmuch-company :modes notmuch-message-mode))

(defun notmuch/pre-init-org ()
(spacemacs|use-package-add-hook org
Expand Down

0 comments on commit 3c8cb6e

Please sign in to comment.