]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): In shortcuts for forward-char etc,,
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 May 1998 18:10:20 +0000 (18:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 May 1998 18:10:20 +0000 (18:10 +0000)
use FETCH_CHAR not FETCH_BYTE.

src/keyboard.c

index b5a74bebf29e272b0a0431fae9b6ea89f6176e26..a3dd95e0f7d72e22122478933aa053b35226339e 100644 (file)
@@ -1306,7 +1306,7 @@ command_loop_1 ()
                {
                   struct Lisp_Char_Table *dp
                    = window_display_table (XWINDOW (selected_window));
-                 lose = FETCH_BYTE (PT_BYTE);
+                 lose = FETCH_CHAR (PT_BYTE);
                  SET_PT (PT + 1);
                  if ((dp
                       ? (VECTORP (DISP_CHAR_VECTOR (dp, lose))
@@ -1336,7 +1336,7 @@ command_loop_1 ()
                   struct Lisp_Char_Table *dp
                    = window_display_table (XWINDOW (selected_window));
                  SET_PT (PT - 1);
-                 lose = FETCH_BYTE (PT_BYTE);
+                 lose = FETCH_CHAR (PT_BYTE);
                  if ((dp
                       ? (VECTORP (DISP_CHAR_VECTOR (dp, lose))
                          ? XVECTOR (DISP_CHAR_VECTOR (dp, lose))->size == 1