aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Danjou2010-10-14 13:55:30 +0000
committerKatsumi Yamaoka2010-10-14 13:55:30 +0000
commit31e96eecc09283b5169faf0d5dc1c8efd58539ac (patch)
treef3520c869bbe7cb7a76c18d2a2bbe83a8433f103
parent0d2d1bdcf33695592726c77c88d9d306f9e1d189 (diff)
downloademacs-31e96eecc09283b5169faf0d5dc1c8efd58539ac.tar.gz
emacs-31e96eecc09283b5169faf0d5dc1c8efd58539ac.zip
shr.el (shr-tag-a): Use url-link as widget type.
-rw-r--r--lisp/gnus/ChangeLog2
-rw-r--r--lisp/gnus/shr.el7
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 8f7cdb439f6..7a8a9e171d0 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -5,6 +5,8 @@
5 5
62010-10-14 Julien Danjou <julien@danjou.info> 62010-10-14 Julien Danjou <julien@danjou.info>
7 7
8 * shr.el (shr-tag-a): Use url-link as widget type.
9
8 * gnus-group.el (gnus-group-insert-group-line): Fix group argument to 10 * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
9 `gnus-group-get-icon'. 11 `gnus-group-get-icon'.
10 12
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."
379 shr-start) 379 shr-start)
380 (shr-generic cont) 380 (shr-generic cont)
381 (widget-convert-button 381 (widget-convert-button
382 'link (or shr-start start) (point) 382 'url-link (or shr-start start) (point)
383 :help-echo url) 383 :help-echo url
384 (put-text-property (or shr-start start) (point) 'keymap shr-map) 384 :keymap shr-map
385 url)
385 (put-text-property (or shr-start start) (point) 'shr-url url))) 386 (put-text-property (or shr-start start) (point) 'shr-url url)))
386 387
387(defun shr-encode-url (url) 388(defun shr-encode-url (url)