mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
Make `q' etc work in image mode again
* lisp/image-mode.el (image-mode-map): Restore special-mode-map as the parent keymap of image-mode-map (bug#23167).
This commit is contained in:
parent
d1c75d827b
commit
43cc5d8bdf
@ -371,9 +371,8 @@ call."
|
||||
"Internal variable to keep the previous non-image major mode.")
|
||||
|
||||
(defvar image-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(let ((map (copy-keymap image-map)))
|
||||
(set-keymap-parent map special-mode-map)
|
||||
(set-keymap-parent map image-map)
|
||||
(define-key map "\C-c\C-c" 'image-toggle-display)
|
||||
(define-key map "\C-c\C-x" 'image-toggle-hex-display)
|
||||
(define-key map (kbd "SPC") 'image-scroll-up)
|
||||
|
Loading…
Reference in New Issue
Block a user