]> code.delx.au - gnu-emacs/blobdiff - lisp/image-mode.el
* lisp/image-mode.el (image-mode-map): Remap left-char and right-char.
[gnu-emacs] / lisp / image-mode.el
index 04a81f9038edefe33c4163f9532c2b47658350c5..585d82e9bebd400a9ce2baa75a3b68b67890e82e 100644 (file)
@@ -298,6 +298,8 @@ This variable is used to display the current image type in the mode line.")
     (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 right-char] 'image-forward-hscroll)
+    (define-key map [remap left-char] 'image-backward-hscroll)
     (define-key map [remap previous-line] 'image-previous-line)
     (define-key map [remap next-line] 'image-next-line)
     (define-key map [remap scroll-up] 'image-scroll-up)