aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobin Templeton <[email protected]>2014-07-18 15:07:36 -0400
committerRobin Templeton <[email protected]>2015-04-20 00:29:02 -0400
commitfa8678ebb05c28c54f114727a0bec7453903dbf0 (patch)
treea7e4cb049d3d8a887027133233ca9f979dbe007e /src
parent3f13130005dfc51fa4982659aa289cb8753cfd26 (diff)
dynwind fixes
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
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: