summaryrefslogtreecommitdiff
path: root/lisp/gnus/shr.el
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2010-10-14 13:55:30 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-10-14 13:55:30 +0000
commit31e96eecc09283b5169faf0d5dc1c8efd58539ac (patch)
treef3520c869bbe7cb7a76c18d2a2bbe83a8433f103 /lisp/gnus/shr.el
parent0d2d1bdcf33695592726c77c88d9d306f9e1d189 (diff)
downloademacs-31e96eecc09283b5169faf0d5dc1c8efd58539ac.tar.gz
shr.el (shr-tag-a): Use url-link as widget type.
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r--lisp/gnus/shr.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 119fd97edc0..cfabf1a8bfc 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -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)