diff options
| author | Dmitry Antipov | 2013-08-07 14:32:08 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-07 14:32:08 +0400 |
| commit | 170da1ec691127471ecd118dccd79eec7c9f3699 (patch) | |
| tree | b21f37e99fdde63c2f6169c4728629ef2b302513 /src/ChangeLog | |
| parent | 20940c206593a8e7bd4809348ff95a6f971c5528 (diff) | |
| download | emacs-170da1ec691127471ecd118dccd79eec7c9f3699.tar.gz emacs-170da1ec691127471ecd118dccd79eec7c9f3699.zip | |
Be more careful if selected window shows the buffer other than current,
use window_outdated only if this is not so. This change should also
address some weird issues discussed in Bug#13012.
* window.h (window_outdated): New prototype.
* window.c (window_outdated): Now here. Convert from static and
always assume window's buffer.
(Fwindow_end, Fwindow_line_height): Use it.
* xdisp.c (reconsider_clip_changes): Remove prototype, drop 2nd arg
and always assume window's buffer.
(redisplay_window): Adjust user.
(redisplay_internal): Call to reconsider_clip_change once and
check whether mode line should be updated only if selected window
shows current buffer.
(run_window_scroll_functions): Use eassert for debugging check.
(Fmove_point_visually, note_mouse_highlight): Use window_outdated.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 034926f1fae..a090e02e74a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2013-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Be more careful if selected window shows the buffer other than current, | ||
| 4 | use window_outdated only if this is not so. This change should also | ||
| 5 | address some weird issues discussed in Bug#13012. | ||
| 6 | * window.h (window_outdated): New prototype. | ||
| 7 | * window.c (window_outdated): Now here. Convert from static and | ||
| 8 | always assume window's buffer. | ||
| 9 | (Fwindow_end, Fwindow_line_height): Use it. | ||
| 10 | * xdisp.c (reconsider_clip_changes): Remove prototype, drop 2nd arg | ||
| 11 | and always assume window's buffer. | ||
| 12 | (redisplay_window): Adjust user. | ||
| 13 | (redisplay_internal): Call to reconsider_clip_change once and | ||
| 14 | check whether mode line should be updated only if selected window | ||
| 15 | shows current buffer. | ||
| 16 | (run_window_scroll_functions): Use eassert for debugging check. | ||
| 17 | (Fmove_point_visually, note_mouse_highlight): Use window_outdated. | ||
| 18 | |||
| 1 | 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> | 19 | 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 20 | ||
| 3 | * window.c (window_scroll, window_scroll_pixel_based) | 21 | * window.c (window_scroll, window_scroll_pixel_based) |