changeset 110996:e65b79c36e50

shr.el (shr-tag-a): Use url-link as widget type.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 14 Oct 2010 13:55:30 +0000
parents 29c951d93e6d
children b8fde5ef9e14
files lisp/gnus/ChangeLog lisp/gnus/shr.el
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Oct 14 10:16:59 2010 +0000
+++ b/lisp/gnus/ChangeLog	Thu Oct 14 13:55:30 2010 +0000
@@ -5,6 +5,8 @@
 
 2010-10-14  Julien Danjou  <julien@danjou.info>
 
+	* shr.el (shr-tag-a): Use url-link as widget type.
+
 	* gnus-group.el (gnus-group-insert-group-line): Fix group argument to
 	`gnus-group-get-icon'.
 
--- a/lisp/gnus/shr.el	Thu Oct 14 10:16:59 2010 +0000
+++ b/lisp/gnus/shr.el	Thu Oct 14 13:55:30 2010 +0000
@@ -379,9 +379,10 @@
 	shr-start)
     (shr-generic cont)
     (widget-convert-button
-     'link (or shr-start start) (point)
-     :help-echo url)
-    (put-text-property (or shr-start start) (point) 'keymap shr-map)
+     'url-link (or shr-start start) (point)
+     :help-echo url
+     :keymap shr-map
+     url)
     (put-text-property (or shr-start start) (point) 'shr-url url)))
 
 (defun shr-encode-url (url)