diff options
author | Julien Danjou <julien@danjou.info> | 2010-10-14 13:55:30 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-10-14 13:55:30 +0000 |
commit | 31e96eecc09283b5169faf0d5dc1c8efd58539ac (patch) | |
tree | f3520c869bbe7cb7a76c18d2a2bbe83a8433f103 | |
parent | 0d2d1bdcf33695592726c77c88d9d306f9e1d189 (diff) | |
download | emacs-31e96eecc09283b5169faf0d5dc1c8efd58539ac.tar.gz |
shr.el (shr-tag-a): Use url-link as widget type.
-rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/gnus/shr.el | 7 |
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 @@ 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'. 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) |