diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2023-04-15 12:35:24 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2023-04-15 13:17:50 +0200 |
commit | b7023da6627f911c087961d9d476b3eafabb7ae7 (patch) | |
tree | ce0887df9eb30653a538bfd0421b9b0c1cb89bf0 | |
parent | d9e96c029bb42ff96f4dd7f51a3e2b93ba71bfc8 (diff) | |
download | emacs-b7023da6627f911c087961d9d476b3eafabb7ae7.tar.gz |
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.
-rw-r--r-- | lisp/net/eww.el | 2 | ||||
-rw-r--r-- | lisp/net/shr.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index eac47e592b2..d2b4575f963 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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 diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 9c2ae98d77e..4e44dfbef03 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -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 |