Make image-map bindings available on image links
* lisp/net/shr.el (shr-map): Move shr-browse-image to "M-i". * lisp/net/eww.el (eww-image-link-keymap): Use shr-image-map.
This commit is contained in:
parent
d9e96c029b
commit
b7023da662
2 changed files with 2 additions and 2 deletions
|
@ -326,7 +326,7 @@ parameter, and should return the (possibly) transformed URL."
|
|||
"<mouse-2>" #'eww-follow-link)
|
||||
|
||||
(defvar-keymap eww-image-link-keymap
|
||||
:parent shr-map
|
||||
:parent shr-image-map
|
||||
"RET" #'eww-follow-link)
|
||||
|
||||
(defun eww-suggested-uris nil
|
||||
|
|
|
@ -276,7 +276,7 @@ and other things:
|
|||
|
||||
(defvar-keymap shr-map
|
||||
"a" #'shr-show-alt-text
|
||||
"i" #'shr-browse-image
|
||||
"M-i" #'shr-browse-image
|
||||
"z" #'shr-zoom-image
|
||||
"TAB" #'shr-next-link
|
||||
"C-M-i" #'shr-previous-link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue