* window.c (Fset_window_start): Compare w', not window' because

`w' might not be equal to `window' after call to decode_live_window.
This commit is contained in:
Dmitry Antipov 2013-08-13 12:17:50 +04:00
parent 55e47f950d
commit ae966a860a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-08-13 Dmitry Antipov <dmantipov@yandex.ru>
* window.c (Fset_window_start): Compare `w', not `window' because
`w' might not be equal to `window' after call to decode_live_window.
2013-08-12 Paul Eggert <eggert@cs.ucla.edu>
* process.c (deactivate_process): Reset fds to -1 (Bug#15035).

View file

@ -1612,7 +1612,7 @@ overriding motion of point in order to display at this exact start. */)
if (NILP (noforce))
w->force_start = 1;
w->update_mode_line = 1;
if (!EQ (window, selected_window))
if (w != XWINDOW (selected_window))
/* Enforce full redisplay. FIXME: make it more selective. */
windows_or_buffers_changed++;