summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2004-05-11 09:41:20 +0000
committerEli Zaretskii <eliz@gnu.org>2004-05-11 09:41:20 +0000
commit860e1e0f9f65dd7f65e106a900305aa55a4000c0 (patch)
treec299f5aa4e004afcb32ec1813d83b408fbc1a2bf
parentac00945e6ed2f53132dc7416062e168c376345bf (diff)
downloademacs-860e1e0f9f65dd7f65e106a900305aa55a4000c0.tar.gz
(rfc2368-parse-mailto-url): Make the results of
parsing "mailto:addr1%2C%20addr2", "mailto:?to=addr1%2C%20addr2", and "mailto:addr1?to=addr2" equal.
-rw-r--r--lisp/mail/rfc2368.el3
1 files changed, 2 insertions, 1 deletions
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)))))