From 4dbb45a9719394c9f17dbc1c2758bfd3459835b9 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 1 Nov 2025 15:13:11 +0000 Subject: notmuch activation in mac --- lib/net/jao-notmuch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/jao-notmuch.el') diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index 75ee027..2471dc7 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -362,8 +362,8 @@ (defun jao-notmuch-mua--inherited-fcc () (let* ((fn (notmuch-show-get-filename)) - (dest (and (string-match ".*/var/mail/\\(.+?\\)/.+" fn) - (match-string 1 fn))) + (dest (and (string-match ".*/\\(var/mail\\|Mail\\)/\\(.+?\\)/.+" fn) + (match-string 2 fn))) (tags (seq-difference (notmuch-show-get-tags) '("attachment" "sent" "new" "flagged"))) (tagstr (mapconcat (lambda (s) (concat "+" s)) tags " ")) -- cgit v1.2.3