]> git.eshelyaron.com Git - emacs.git/commitdiff
shr.el (shr-tag-a): Use url-link as widget type.
authorJulien Danjou <julien@danjou.info>
Thu, 14 Oct 2010 13:55:30 +0000 (13:55 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 14 Oct 2010 13:55:30 +0000 (13:55 +0000)
lisp/gnus/ChangeLog
lisp/gnus/shr.el

index 8f7cdb439f6d07ea9d53e5579fc9acbb9556b6af..7a8a9e171d0e1425e98bc5a1e16db7d3382fc33d 100644 (file)
@@ -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'.
 
index 119fd97edc07c61cfe2ce1c17abb7a7777896199..cfabf1a8bfc1e9333ac445834c697cbe04063ff1 100644 (file)
@@ -379,9 +379,10 @@ Return a string with image data."
        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)