changeset 55529:455a962a0dba

(rfc2368-parse-mailto-url): Make the results of parsing "mailto:addr1%2C%20addr2", "mailto:?to=addr1%2C%20addr2", and "mailto:addr1?to=addr2" equal.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 11 May 2004 09:41:20 +0000
parents 2ac9e7728aa7
children ada02c2b390c
files lisp/mail/rfc2368.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rfc2368.el	Tue May 11 09:30:25 2004 +0000
+++ b/lisp/mail/rfc2368.el	Tue May 11 09:41:20 2004 +0000
@@ -120,12 +120,13 @@
 	  ;; 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)))))