summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-06-04 05:58:33 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-06-04 05:58:33 +0000
commit771138ba7449541389b3d3117e08b74e45d4c8c2 (patch)
treec602c5b17cfef05ef65eaf1df2d781519365e903 /lisp/image-mode.el
parenta75e7ba7de9407249ea2c3e1306457025e63938b (diff)
downloademacs-771138ba7449541389b3d3117e08b74e45d4c8c2.tar.gz
(image-mode-map): Add doc-view-inspired bindings.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index efab43aaf4f..b94a3ee4dad 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -290,6 +290,9 @@ This variable is used to display the current image type in the mode line.")
(define-key map "q" 'quit-window)
;;
(define-key map "\C-c\C-c" 'image-toggle-display)
+ (define-key map (kbd "SPC") 'image-scroll-up)
+ (define-key map (kbd "DEL") 'image-scroll-down)
+ ;;
(define-key map [remap forward-char] 'image-forward-hscroll)
(define-key map [remap backward-char] 'image-backward-hscroll)
(define-key map [remap previous-line] 'image-previous-line)