From 4c43ebdf2e302383c7c1f092d6e9972aa2576f05 Mon Sep 17 00:00:00 2001 From: djcb Date: Tue, 13 Mar 2012 08:20:27 +0200 Subject: [PATCH] * mu4e-send.el: use the _last_ reference to determine the 'parent' message --- emacs/mu4e-send.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/mu4e-send.el b/emacs/mu4e-send.el index 7dc8ead5..7ba3fbb7 100644 --- a/emacs/mu4e-send.el +++ b/emacs/mu4e-send.el @@ -410,7 +410,8 @@ This is meant to be called from message mode's (let ((refs)) (while (re-search-forward "<[^ <]+@[^ <]+>" nil t) (push (match-string 0) refs)) - (setq forwarded-from (car-safe (last refs))))))) + ;; the last will the first + (setq forwarded-from (first refs)))))) ;; remove the <> (when (and in-reply-to (string-match "<\\(.*\\)>" in-reply-to)) (mu4e-proc-flag (match-string 1 in-reply-to) "+R"))