diff options
-rw-r--r-- | email.org | 4 | ||||
-rw-r--r-- | notmuch.org | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -356,8 +356,8 @@ #+end_src * notmuch #+begin_src emacs-lisp - (when (eq jao-afio-mail-function 'notmuch) - (jao-load-org "notmuch")) + (defvar jao-notmuch-enabled-p (eq jao-afio-mail-function 'notmuch)) + (jao-load-org "notmuch") #+end_src * consult notmuch #+begin_src emacs-lisp diff --git a/notmuch.org b/notmuch.org index d3d832d..13843f0 100644 --- a/notmuch.org +++ b/notmuch.org @@ -39,7 +39,8 @@ " ")) (jao-minibuffer-refresh))) - (jao-minibuffer-add-variable 'jao-notmuch-minibuffer-string -20) + (when jao-notmuch-enabled-p + (jao-minibuffer-add-variable 'jao-notmuch-minibuffer-string -20)) #+end_src * saved searches #+begin_src emacs-lisp |