Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8458ede6
Commit
8458ede6
authored
Jan 01, 1998
by
Richard M. Stallman
Browse files
(command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
Instead of Fforward_point, just add.
parent
3f236a40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/keyboard.c
src/keyboard.c
+6
-6
No files found.
src/keyboard.c
View file @
8458ede6
...
...
@@ -1283,8 +1283,8 @@ command_loop_1 ()
{
struct Lisp_Char_Table *dp
= window_display_table (XWINDOW (selected_window));
lose = FETCH_BYTE (PT);
SET_PT (
forward_point (1)
);
lose = FETCH_BYTE (PT
_BYTE
);
SET_PT (
PT + 1
);
if ((dp
? (VECTORP (DISP_CHAR_VECTOR (dp, lose))
? XVECTOR (DISP_CHAR_VECTOR (dp, lose))->size == 1
...
...
@@ -1293,7 +1293,7 @@ command_loop_1 ()
: (lose >= 0x20 && lose < 0x7f))
/* To extract the case of continuation on
wide-column characters. */
&& (WIDTH_BY_CHAR_HEAD (FETCH_BYTE (PT)) == 1)
&& (WIDTH_BY_CHAR_HEAD (FETCH_BYTE (PT
_BYTE
)) == 1)
&& (XFASTINT (XWINDOW (selected_window)->last_modified)
>= MODIFF)
&& (XFASTINT (XWINDOW (selected_window)->last_overlay_modified)
...
...
@@ -1312,8 +1312,8 @@ command_loop_1 ()
{
struct Lisp_Char_Table *dp
= window_display_table (XWINDOW (selected_window));
SET_PT (
forward_point (-1)
);
lose = FETCH_BYTE (PT);
SET_PT (
PT - 1
);
lose = FETCH_BYTE (PT
_BYTE
);
if ((dp
? (VECTORP (DISP_CHAR_VECTOR (dp, lose))
? XVECTOR (DISP_CHAR_VECTOR (dp, lose))->size == 1
...
...
@@ -1370,7 +1370,7 @@ command_loop_1 ()
nonundocount = 0;
if (!lose
&& (PT == ZV || FETCH_BYTE (PT) == '\n'))
&& (PT == ZV || FETCH_BYTE (PT
_BYTE
) == '\n'))
{
struct Lisp_Char_Table *dp
= window_display_table (XWINDOW (selected_window));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment