diff options
| author | Karl Heuer | 1995-03-31 19:26:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-03-31 19:26:53 +0000 |
| commit | c422836dc1798f1b9ce54915babb836dc266a412 (patch) | |
| tree | 9d9cdd56d256c95e9c3c04e5b44e3b41654f3115 /src | |
| parent | 3a3f61fa716012a350a2a1a77f3c7c6c2f188fb9 (diff) | |
| download | emacs-c422836dc1798f1b9ce54915babb836dc266a412.tar.gz emacs-c422836dc1798f1b9ce54915babb836dc266a412.zip | |
(command_loop_1): If we ignore force_start, then also
ignore beg_unchanged and end_unchanged.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 00a27fa0042..e484395621d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1100,8 +1100,14 @@ command_loop_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)) |