summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-11-12 02:53:33 +0000
committerjao <jao@gnu.org>2021-11-12 02:53:33 +0000
commit37ba723bc171ed3dd3c1986b593b74c622a1293f (patch)
tree94559d762f3db8354b1fe622adb192e155e947e3
parent7e56699b153c601fc024d1e218ce589adfe9438e (diff)
downloadelibs-37ba723bc171ed3dd3c1986b593b74c622a1293f.tar.gz
elibs-37ba723bc171ed3dd3c1986b593b74c622a1293f.tar.bz2
making sure gnus and notmuch play well along
-rw-r--r--email.org4
-rw-r--r--notmuch.org3
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