diff options
| author | jao <jao@gnu.org> | 2025-11-01 15:13:11 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-01 15:13:11 +0000 |
| commit | 4dbb45a9719394c9f17dbc1c2758bfd3459835b9 (patch) | |
| tree | 2afd7c635f11ceb48637acc9205923a455434a92 /lib/net | |
| parent | cb0df2b7d23a5848a0130a3a0232509015986450 (diff) | |
| download | elibs-4dbb45a9719394c9f17dbc1c2758bfd3459835b9.tar.gz elibs-4dbb45a9719394c9f17dbc1c2758bfd3459835b9.tar.bz2 | |
notmuch activation in mac
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/jao-notmuch.el | 4 |
1 files changed, 2 insertions, 2 deletions
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 " ")) |
