Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bf6b4d58
Commit
bf6b4d58
authored
Mar 26, 2008
by
Stefan Monnier
Browse files
(redisplay_internal): Reset selected_frame earlier.
parent
ef6f5c0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/xdisp.c
src/xdisp.c
+8
-0
No files found.
src/ChangeLog
View file @
bf6b4d58
2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
* 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.
...
...
src/xdisp.c
View file @
bf6b4d58
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment