shr.el (shr-tag-a): Use url-link as widget type.
This commit is contained in:
parent
0d2d1bdcf3
commit
31e96eecc0
2 changed files with 6 additions and 3 deletions
|
@ -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'.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue