Commit bf6b4d58 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(redisplay_internal): Reset selected_frame earlier.

parent ef6f5c0e
2008-03-26 Stefan Monnier <>
* xdisp.c (redisplay_internal): Reset selected_frame earlier.
* indent.c (scan_for_column): Extract from current_column_1.
Merge with the same code from Fmove_to_column.
(current_column_1, Fmove_to_column): Use it.
......@@ -11636,6 +11636,14 @@ redisplay_internal (preserve_echo_area)
if (!EQ (old_frame, selected_frame)
&& FRAME_LIVE_P (XFRAME (old_frame)))
/* We played a bit fast-and-loose above and allowed selected_frame
and selected_window to be temporarily out-of-sync but let's make
sure this stays contained. */
select_frame_for_redisplay (old_frame);
eassert (EQ (XFRAME (selected_frame)->selected_window, selected_window));
if (!pause)
/* Do the mark_window_display_accurate after all windows have
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment