]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind new image-mode scroll commands in image-dired
authorMark Oteiza <mvoteiza@udel.edu>
Sun, 18 Dec 2016 14:41:31 +0000 (09:41 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Sun, 18 Dec 2016 14:41:31 +0000 (09:41 -0500)
* lisp/image-dired.el (image-dired-display-image-mode-map): Add bindings
to new image-mode commands.

lisp/image-dired.el

index dd0c5b512e7b0ac6fa1a1d825d134d9f68255946..6902d742dbb7306f943c6df51b8f8273d066f59a 100644 (file)
@@ -1424,6 +1424,8 @@ You probably want to use this together with
     (define-key map [remap scroll-down] 'image-scroll-down)
     (define-key map [remap scroll-up-command] 'image-scroll-up)
     (define-key map [remap scroll-down-command] 'image-scroll-down)
+    (define-key map [remap scroll-left] 'image-scroll-left)
+    (define-key map [remap scroll-right] 'image-scroll-right)
     (define-key map [remap move-beginning-of-line] 'image-bol)
     (define-key map [remap move-end-of-line] 'image-eol)
     (define-key map [remap beginning-of-buffer] 'image-bob)