From 860e1e0f9f65dd7f65e106a900305aa55a4000c0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 11 May 2004 09:41:20 +0000 Subject: [PATCH] (rfc2368-parse-mailto-url): Make the results of parsing "mailto:addr1%2C%20addr2", "mailto:?to=addr1%2C%20addr2", and "mailto:addr1?to=addr2" equal. --- lisp/mail/rfc2368.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rfc2368.el b/lisp/mail/rfc2368.el index 07ea44cef04..5d603d7be26 100644 --- a/lisp/mail/rfc2368.el +++ b/lisp/mail/rfc2368.el @@ -120,12 +120,13 @@ calling this function." ;; deal w/ multiple 'To' recipients (if prequery (progn + (setq prequery (rfc2368-unhexify-string prequery)) (if (assoc "To" headers-alist) (let* ((our-cons-cell (assoc "To" headers-alist)) (our-cdr (cdr our-cons-cell))) - (setcdr our-cons-cell (concat our-cdr ", " prequery))) + (setcdr our-cons-cell (concat prequery ", " our-cdr))) (setq headers-alist (cons (cons "To" prequery) headers-alist))))) -- 2.39.2