aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/nnir.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 9d59a4db0da..d66bdf47066 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -507,14 +507,15 @@ Instead, use this:
507 :type '(repeat (string)) 507 :type '(repeat (string))
508 :group 'nnir) 508 :group 'nnir)
509 509
510(defcustom nnir-notmuch-remove-prefix (concat (getenv "HOME") "/Mail/") 510(defcustom nnir-notmuch-remove-prefix
511 (regexp-quote (or (getenv "MAILDIR") (expand-file-name "~/Mail")))
511 "The prefix to remove from each file name returned by notmuch 512 "The prefix to remove from each file name returned by notmuch
512in order to get a group name (albeit with / instead of .). This is a 513in order to get a group name (albeit with / instead of .). This is a
513regular expression. 514regular expression.
514 515
515This variable is very similar to `nnir-namazu-remove-prefix', except 516This variable is very similar to `nnir-namazu-remove-prefix', except
516that it is for notmuch, not Namazu." 517that it is for notmuch, not Namazu."
517 :version "24.1" 518 :version "27.1"
518 :type '(regexp) 519 :type '(regexp)
519 :group 'nnir) 520 :group 'nnir)
520 521