mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
alas, a map can have only one parent
* lisp/image-mode.el (image-model-map): Cannot have two parents. * lisp/image.el (image-map): Inherit from `special-mode-map'.
This commit is contained in:
parent
1d287665dc
commit
d05806fda1
2 changed files with 2 additions and 0 deletions
|
|
@ -372,6 +372,7 @@ call."
|
|||
|
||||
(defvar image-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(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…
Add table
Add a link
Reference in a new issue