Commit aaf35234 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(command_loop_1): In shortcuts for forward-char etc,,

use FETCH_CHAR not FETCH_BYTE.
parent b3b670cd
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment