Mercurial > emacs
comparison src/keyboard.c @ 25374:f4c741d61d57
(command_loop_1): Set beg/end_unchanged per
buffer.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 23 Aug 1999 00:11:47 +0000 |
parents | 9d8bd4841e77 |
children | 79574d91e925 |
comparison
equal
deleted
inserted
replaced
25373:6e6b29a72e2c | 25374:f4c741d61d57 |
---|---|
1331 from that position. But also throw away beg_unchanged and | 1331 from that position. But also throw away beg_unchanged and |
1332 end_unchanged information in that case, so that redisplay will | 1332 end_unchanged information in that case, so that redisplay will |
1333 update the whole window properly. */ | 1333 update the whole window properly. */ |
1334 if (!NILP (XWINDOW (selected_window)->force_start)) | 1334 if (!NILP (XWINDOW (selected_window)->force_start)) |
1335 { | 1335 { |
1336 struct buffer *b; | |
1336 XWINDOW (selected_window)->force_start = Qnil; | 1337 XWINDOW (selected_window)->force_start = Qnil; |
1337 beg_unchanged = end_unchanged = 0; | 1338 b = XBUFFER (XWINDOW (selected_window)->buffer); |
1339 BUF_BEG_UNCHANGED (b) = BUF_END_UNCHANGED (b) = 0; | |
1338 } | 1340 } |
1339 | 1341 |
1340 cmd = read_key_sequence_cmd; | 1342 cmd = read_key_sequence_cmd; |
1341 if (!NILP (Vexecuting_macro)) | 1343 if (!NILP (Vexecuting_macro)) |
1342 { | 1344 { |