projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff630b5
)
Make links in shr use separate mouse highlight regions
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 24 Jan 2020 15:26:34 +0000
(16:26 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 24 Jan 2020 15:26:34 +0000
(16:26 +0100)
* lisp/net/shr.el (shr-urlify): Make adjacent links have separate
mouse hightlights (bug#39115).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 241180d471a971a35ea134e5102870d6f83aa2bd..55c189baa85b1d7f94ccaaeee91c1ee1f821eb32 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1265,7
+1265,9
@@
START, and END. Note that START and END should be markers."
(format "%s (%s)" iri title)
iri))
'follow-link t
- 'mouse-face 'highlight))
+ ;; Make separate regions not `eq' so that they'll get
+ ;; separate mouse highlights.
+ 'mouse-face (list 'highlight)))
;; Don't overwrite any keymaps that are already in the buffer (i.e.,
;; image keymaps).
(while (and start