summaryrefslogtreecommitdiff
path: root/notmuch-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-conf.el')
-rw-r--r--notmuch-conf.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/notmuch-conf.el b/notmuch-conf.el
index cfbebfd..7892a19 100644
--- a/notmuch-conf.el
+++ b/notmuch-conf.el
@@ -26,8 +26,18 @@
;; The package is not installed in the usual package directory. Rather
;; it is included and installed by the notmuch distribution. So we
-;; only have to require it here.
+;; only have to load it here.
+(autoload 'durand-member "common")
+
+;; make sure the path is set up.
+(cond
+ ((not (durand-member "/usr/local/share/emacs/site-lisp/"
+ load-path #'string=))
+ (setq load-path
+ (cons "/usr/local/share/emacs/site-lisp/" load-path))))
+
+(load "notmuch")
(require 'notmuch)
(setq notmuch-show-empty-saved-searches t)