emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 b7023da6627: Make image-map bindings available on image links


From: Andreas Schwab
Subject: emacs-29 b7023da6627: Make image-map bindings available on image links
Date: Sat, 15 Apr 2023 07:18:21 -0400 (EDT)

branch: emacs-29
commit b7023da6627f911c087961d9d476b3eafabb7ae7
Author: Andreas Schwab <schwab@linux-m68k.org>
Commit: Andreas Schwab <schwab@linux-m68k.org>

    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.
---
 lisp/net/eww.el | 2 +-
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]