diff options
| author | Dmitry Antipov | 2013-08-13 12:17:50 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-13 12:17:50 +0400 |
| commit | ae966a860afc2d7ebbb1e96a68c2df3cfbdc2b81 (patch) | |
| tree | be40c43c99cf61a920baadc3562eef70e933bea0 /src/window.c | |
| parent | 55e47f950d4fcc5fd0b02a02aa8c7d622ffaa0d4 (diff) | |
| download | emacs-ae966a860afc2d7ebbb1e96a68c2df3cfbdc2b81.tar.gz emacs-ae966a860afc2d7ebbb1e96a68c2df3cfbdc2b81.zip | |
* window.c (Fset_window_start): Compare `w', not `window' because
`w' might not be equal to `window' after call to decode_live_window.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 47a7b58ba9b..be009d37810 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1612,7 +1612,7 @@ overriding motion of point in order to display at this exact start. */) | |||
| 1612 | if (NILP (noforce)) | 1612 | if (NILP (noforce)) |
| 1613 | w->force_start = 1; | 1613 | w->force_start = 1; |
| 1614 | w->update_mode_line = 1; | 1614 | w->update_mode_line = 1; |
| 1615 | if (!EQ (window, selected_window)) | 1615 | if (w != XWINDOW (selected_window)) |
| 1616 | /* Enforce full redisplay. FIXME: make it more selective. */ | 1616 | /* Enforce full redisplay. FIXME: make it more selective. */ |
| 1617 | windows_or_buffers_changed++; | 1617 | windows_or_buffers_changed++; |
| 1618 | 1618 | ||