Mercurial > emacs
comparison src/keyboard.c @ 11174:b400b109a398
(command_loop_1): If we ignore force_start, then also
ignore beg_unchanged and end_unchanged.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 31 Mar 1995 19:26:53 +0000 |
parents | 5ba84aee3999 |
children | a79e057e1d69 |
comparison
equal
deleted
inserted
replaced
11173:f1a876b8bf5c | 11174:b400b109a398 |
---|---|
1098 | 1098 |
1099 last_command_char = keybuf[i - 1]; | 1099 last_command_char = keybuf[i - 1]; |
1100 | 1100 |
1101 /* If the previous command tried to force a specific window-start, | 1101 /* If the previous command tried to force a specific window-start, |
1102 forget about that, in case this command moves point far away | 1102 forget about that, in case this command moves point far away |
1103 from that position. */ | 1103 from that position. But also throw away beg_unchanged and |
1104 XWINDOW (selected_window)->force_start = Qnil; | 1104 end_unchanged information in that case, so that redisplay will |
1105 update the whole window properly. */ | |
1106 if (!NILP (XWINDOW (selected_window)->force_start)) | |
1107 { | |
1108 XWINDOW (selected_window)->force_start = Qnil; | |
1109 beg_unchanged = end_unchanged = 0; | |
1110 } | |
1105 | 1111 |
1106 cmd = read_key_sequence_cmd; | 1112 cmd = read_key_sequence_cmd; |
1107 if (!NILP (Vexecuting_macro)) | 1113 if (!NILP (Vexecuting_macro)) |
1108 { | 1114 { |
1109 if (!NILP (Vquit_flag)) | 1115 if (!NILP (Vquit_flag)) |