summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-10-02 18:01:54 +0100
committerjao <jao@gnu.org>2025-10-02 18:01:54 +0100
commitd03b2109650003ff98d89ebe9db22d62df1374e1 (patch)
tree079c672ac48ed57e9c8f84b24d23a57c2282e4d0
parent2c45e0f8fc8dbe29aefc3f53392c7d9d3bf54b08 (diff)
downloadelibs-d03b2109650003ff98d89ebe9db22d62df1374e1.tar.gz
elibs-d03b2109650003ff98d89ebe9db22d62df1374e1.tar.bz2
darwin: fix for consult-notmuch display path
-rw-r--r--custom/jao-custom-gnus.el6
-rw-r--r--lib/net/jao-notmuch-gnus.el2
2 files changed, 6 insertions, 2 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index f8a396d..2cd2499 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -804,7 +804,11 @@
'("message/rfc822" . jao-gnus-goto-file))))
;;;; notmuch
(use-package jao-notmuch-gnus
- :demand t)
+ :demand t
+ :init
+ (jao-when-darwin
+ (setq jao-notmuch-gnus-mail-directory
+ (expand-file-name "gnus" jao-maildir))))
(jao-load-path "consult-notmuch")
diff --git a/lib/net/jao-notmuch-gnus.el b/lib/net/jao-notmuch-gnus.el
index 5cd42fa..3abfaee 100644
--- a/lib/net/jao-notmuch-gnus.el
+++ b/lib/net/jao-notmuch-gnus.el
@@ -176,7 +176,7 @@ Example:
(msg-id (when msg-id (replace-regexp-in-string "^id:" "" msg-id))))
(if (and group msg-id)
(org-gnus-follow-link group msg-id)
- (message "Couldn't get relevant infos for switching to Gnus."))))
+ (message "Couldn't get relevant info for switching to Gnus."))))
(defun jao-notmuch-gnus-engine (prefix config)
(let ((prefix (file-name-as-directory (expand-file-name prefix "~")))