changeset 13198:43d90596da34

(Fdelete_other_windows): Set w->force_start.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Oct 1995 18:00:00 +0000
parents 69ab0ac9501a
children 9424e02a6e18
files src/window.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Thu Oct 12 17:56:17 1995 +0000
+++ b/src/window.c	Thu Oct 12 18:00:00 1995 +0000
@@ -1543,6 +1543,9 @@
       w->start_at_line_beg = ((pos.bufpos == BEGV
 			       || FETCH_CHAR (pos.bufpos - 1) == '\n') ? Qt
 			      : Qnil);
+      /* We need to do this, so that the window-scroll-functions
+	 get called.  */
+      w->force_start = Qt;
 
       set_buffer_internal (obuf);
     }
@@ -2548,7 +2551,7 @@
   Lisp_Object bolp, nmoved;
 
   /* Always set force_start so that redisplay_window will run
-     thw window-start-functions.  */
+     thw window-scroll-functions.  */
   w->force_start = Qt;
 
   XSETFASTINT (tem, PT);