changeset 108988:65de28008783

* lisp/image-mode.el (image-mode-map): Remap left-char and right-char.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 13 Jun 2010 23:19:46 -0400
parents 18cf7a828b34
children c20f62b45fc9 3d4150adbcf7 68616bb3ae25
files lisp/ChangeLog lisp/image-mode.el
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jun 13 21:43:11 2010 -0400
+++ b/lisp/ChangeLog	Sun Jun 13 23:19:46 2010 -0400
@@ -1,5 +1,7 @@
 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* image-mode.el (image-mode-map): Remap left-char and right-char.
+
 	* nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
 
 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
--- a/lisp/image-mode.el	Sun Jun 13 21:43:11 2010 -0400
+++ b/lisp/image-mode.el	Sun Jun 13 23:19:46 2010 -0400
@@ -298,6 +298,8 @@
     (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)