diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-07-21 16:17:21 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-10-10 18:33:09 -0400 |
commit | 39f14fd677043f53f973b6df51bc51d82309339f (patch) | |
tree | 5663621c03132f758b92301cb4ba62de9454b61d | |
parent | a7462432dcb7b6f7a19ce0609b5ed2f942126c8c (diff) | |
download | emacs.d-39f14fd677043f53f973b6df51bc51d82309339f.tar.gz |
notmuch: Improve stashing of debbugs CC
The CC value can have a tab, which the regexp doesn't handle. Instead
rely on message-fetch-field.
-rw-r--r-- | lisp/km-mail.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/km-mail.el b/lisp/km-mail.el index 356c6bc..66d1202 100644 --- a/lisp/km-mail.el +++ b/lisp/km-mail.el @@ -234,8 +234,7 @@ Tracking System, set '--in-reply-to' to the initial report and (notmuch-show-stash-git-helper (message-tokenize-header (km/notmuch-with-raw-message (concat "id:" root-id) - (and (re-search-forward "^Cc: \\(.+\\)" nil t) - (match-string 1)))) + (message-fetch-field "Cc"))) "--cc=") (notmuch-show-stash-git-helper (list root-id) "--in-reply-to=")) " "))))) |