changeset 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 6e6b29a72e2c
children 919b568e4108
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Aug 23 00:11:45 1999 +0000
+++ b/src/keyboard.c	Mon Aug 23 00:11:47 1999 +0000
@@ -1333,8 +1333,10 @@
 	 update the whole window properly.  */
       if (!NILP (XWINDOW (selected_window)->force_start))
 	{
+	  struct buffer *b;
 	  XWINDOW (selected_window)->force_start = Qnil;
-	  beg_unchanged = end_unchanged = 0;
+	  b = XBUFFER (XWINDOW (selected_window)->buffer);
+	  BUF_BEG_UNCHANGED (b) = BUF_END_UNCHANGED (b) = 0;
 	}
 
       cmd = read_key_sequence_cmd;