* gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 26 Nov 2010 02:19:55 +0000 (03:19 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 26 Nov 2010 02:19:55 +0000 (03:19 +0100)
lisp/ChangeLog
lisp/gnus-art.el

index 4c99f20..44ebed9 100644 (file)
@@ -1,5 +1,7 @@
 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
+
        * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
 
        * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
index 53d82ca..8d8aaa0 100644 (file)
@@ -8146,6 +8146,7 @@ url is put as the `gnus-button-url' overlay property on the button."
 
 (defun gnus-url-mailto (url)
   ;; Send mail to someone
+  (setq url (replace-regexp-in-string "\n" " " url))
   (when (string-match "mailto:/*\\(.*\\)" url)
     (setq url (substring url (match-beginning 1) nil)))
   (let (to args subject func)