(rfc2368-parse-mailto-url): Make the results of
parsing "mailto:addr1%2C%20addr2", "mailto:?to=addr1%2C%20addr2", and "mailto:addr1?to=addr2" equal.
This commit is contained in:
parent
ac00945e6e
commit
860e1e0f9f
1 changed files with 2 additions and 1 deletions
|
@ -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)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue