From: Julien Danjou Date: Thu, 14 Oct 2010 13:12:34 +0000 (+0200) Subject: shr: Use url-link as widget type X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=026eb47f4aa9a7976338138b6a20dc8120a23f7f;p=gnus shr: Use url-link as widget type Signed-off-by: Julien Danjou --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bd0bf3cfc..2c7804b61 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,8 @@ 2010-10-14 Julien Danjou + * 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/shr.el b/lisp/shr.el index 119fd97ed..cfabf1a8b 100644 --- a/lisp/shr.el +++ b/lisp/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)