summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2016-04-24 17:21:18 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2016-04-24 17:21:18 +0200
commit12846626bfae795a173fdedf2850dfbd24065534 (patch)
treeae80fdaaad7aa8ad3546cdea3051a10831af9ea5 /lisp/image-mode.el
parentb7a21984cc4543139c69d8ff8c2430913fc0e6fc (diff)
downloademacs-12846626bfae795a173fdedf2850dfbd24065534.tar.gz
Call `make-composed-keymap' correctly
* lisp/image-mode.el (image-mode-map): Call `make-composed-keymap' correctly.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index f4a17b2a28a..a18b07ebe6a 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -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