Don't bind image commands on eww non-image links
commit0263216ec39d0914f17b662a3e45b4163ab6cc78
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 22:17:36 +0000 (14 00:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 22:17:36 +0000 (14 00:17 +0200)
tree6b52f194b1a7a47ccbc9c3eaacbe3d8994682883
parent3ba07bfc3ec43aa10d8e2d06a8f36f7022287573
Don't bind image commands on eww non-image links

* lisp/net/eww.el (eww-link-keymap): Only inherit the normal shr
keymap.
(eww-image-link-keymap): New keymap with the image bindings.
(eww-tag-a): Use the appropriate one on links (bug#30148).
lisp/net/eww.el