summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2016-04-22 14:52:37 -0400
committerSam Steingold <sds@gnu.org>2016-05-02 11:47:40 -0400
commitd05806fda1cbba2db112bc783597fbe9d27175b2 (patch)
tree69e6b29921a7121dbefdd8630f5a72b7322834e6 /lisp/image-mode.el
parent1d287665dc93c97a1c55606b394bd3e05e6e2e04 (diff)
downloademacs-d05806fda1cbba2db112bc783597fbe9d27175b2.tar.gz
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'.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index a18b07ebe6a..a5cfc7ada64 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -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)