1
Fork 0
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:
Sam Steingold 2016-04-22 14:52:37 -04:00
parent 1d287665dc
commit d05806fda1
2 changed files with 2 additions and 0 deletions

View file

@ -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)