From: Julien Danjou Date: Thu, 14 Oct 2010 13:55:30 +0000 (+0000) Subject: shr.el (shr-tag-a): Use url-link as widget type. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31e96eecc09283b5169faf0d5dc1c8efd58539ac;p=emacs.git shr.el (shr-tag-a): Use url-link as widget type. --- 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 + * 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)