]> git.eshelyaron.com Git - emacs.git/commitdiff
(image-mode-map): Add doc-view-inspired bindings.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 4 Jun 2008 05:58:33 +0000 (05:58 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 4 Jun 2008 05:58:33 +0000 (05:58 +0000)
lisp/ChangeLog
lisp/image-mode.el

index 9cd7a630cf40d697222698394dcc60f2b11d23c2..67b3ec53497328cfbac5c83d24b638acdd6bc60f 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-04  Markus Triska  <markus.triska@gmx.at>
+
+       * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
+
 2008-06-04  Miles Bader  <miles@gnu.org>
 
        * face-remap.el (adjust-buffer-face-height): New function.
index efab43aaf4f4eb7fef273ed2234893dfa72f6b79..b94a3ee4dadc808258427b53c3d23413b665830c 100644 (file)
@@ -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)