From fa8678ebb05c28c54f114727a0bec7453903dbf0 Mon Sep 17 00:00:00 2001 From: Robin Templeton Date: Fri, 18 Jul 2014 15:07:36 -0400 Subject: [PATCH] dynwind fixes --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index c9ce9b9b0d..774903b6bc 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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: -- 2.20.1