From d03b2109650003ff98d89ebe9db22d62df1374e1 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 2 Oct 2025 18:01:54 +0100 Subject: darwin: fix for consult-notmuch display path --- custom/jao-custom-gnus.el | 6 +++++- lib/net/jao-notmuch-gnus.el | 2 +- 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 "~"))) -- cgit v1.2.3