dynwind fixes
authorRobin Templeton <robin@terpri.org>
Fri, 18 Jul 2014 19:07:36 +0000 (15:07 -0400)
committerRobin Templeton <robin@terpri.org>
Mon, 20 Apr 2015 04:29:02 +0000 (00:29 -0400)
src/xdisp.c

index c9ce9b9..774903b 100644 (file)
@@ -15775,7 +15775,6 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
      It indicates that the buffer contents and narrowing are unchanged.  */
   bool buffer_unchanged_p = false;
   int temp_scroll_step = 0;
-  dynwind_begin ();
   int rc;
   int centering_position = -1;
   int last_line_misfit = 0;
@@ -15801,6 +15800,8 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
   eassert (XMARKER (w->start)->buffer == buffer);
   eassert (XMARKER (w->pointm)->buffer == buffer);
 
+  dynwind_begin ();
+
   /* We come here again if we need to run window-text-change-functions
      below.  */
  restart: