mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Call `make-composed-keymap' correctly
* lisp/image-mode.el (image-mode-map): Call `make-composed-keymap' correctly.
This commit is contained in:
parent
b7a21984cc
commit
12846626bf
@ -371,7 +371,7 @@ call."
|
||||
"Internal variable to keep the previous non-image major mode.")
|
||||
|
||||
(defvar image-mode-map
|
||||
(let ((map (make-composed-keymap image-map special-mode-map)))
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(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)
|
||||
@ -476,7 +476,7 @@ call."
|
||||
["Goto Frame..." image-goto-frame :active image-multi-frame
|
||||
:help "Show a specific frame of this image"]
|
||||
))
|
||||
map)
|
||||
(make-composed-keymap (list map image-map) special-mode-map))
|
||||
"Mode keymap for `image-mode'.")
|
||||
|
||||
(defvar image-minor-mode-map
|
||||
|
Loading…
Reference in New Issue
Block a user