When opening external links in eww, blink the link
commit4f4c7b8083b91633704b2d9c2c3ebbef8713060e
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 12:17:51 +0000 (13 14:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 12:17:51 +0000 (13 14:17 +0200)
treef28cabfe3345f11ababef8c17ba753f6574fe5bf
parentc7abc5760bd18f082c9c028d3a5e108200d35d48
When opening external links in eww, blink the link

* lisp/net/eww.el (eww-follow-link): Ditto.

* lisp/net/shr.el (shr-selected-link): New face (bug#25096).
(shr--blink-link): New function to blink links.
(shr--current-link-region): New utility function.
(shr-browse-url): Use it to blink external links.

Blinking the link allows the user to get immediate feedback that the
action has been performed.  Opening the external browser may take a
while, and may not be obvious that is going on.
lisp/net/eww.el
lisp/net/shr.el