From 7146ffc52a360de2c29d74bebb1100efc5560c20 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Thu, 20 Sep 2018 22:30:32 -0700 Subject: [PATCH] simplify subject stripping in quote string --- conf.org | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/conf.org b/conf.org index c2850b4..15a843e 100644 --- a/conf.org +++ b/conf.org @@ -1786,10 +1786,7 @@ The quote string should enable history tabbing in modern viewers such as outlook (from (concat "From: " (mail-header-from h))) (date (concat "Sent: " (mail-header-date h))) (to (concat "To: " user-full-name)) - (subj (concat "Subject: " (replace-regexp-in-string - "Re: " - "" - (mail-header-subject h))))) + (subj (concat "Subject: " (message-strip-subject-re (mail-header-subject h))))) (insert (string-join `("" ,sep ,from ,date ,to ,subj "") "\n")))) (setq message-citation-line-function 'nd/message-insert-citation-header)