From 37ba723bc171ed3dd3c1986b593b74c622a1293f Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 12 Nov 2021 02:53:33 +0000 Subject: making sure gnus and notmuch play well along --- email.org | 4 ++-- notmuch.org | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/email.org b/email.org index 4088dc1..b33785f 100644 --- a/email.org +++ b/email.org @@ -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 -- cgit v1.2.3