aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-18 18:10:33 +0300
committerEli Zaretskii2014-09-18 18:10:33 +0300
commita810675374498ff80464e48eeeb39f1854ef37bd (patch)
tree57fcf5f7a6f26db4a63904dbf52da3555602be5e /src
parentdf2ead390d7d54cb6c368e3099fb910a182ac7af (diff)
downloademacs-a810675374498ff80464e48eeeb39f1854ef37bd.tar.gz
emacs-a810675374498ff80464e48eeeb39f1854ef37bd.zip
Fix bug #18490 with redisplay of other windows showing a narrowed buffer.
src/xdisp.c (redisplay_internal): Force redisplay of all windows that show a buffer whose narrowing has changed.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c86f6de1575..880f49e3e89 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-09-18 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (redisplay_internal): Force redisplay of all windows
4 that show a buffer whose narrowing has changed. (Bug#18490)
5
12014-09-16 Eli Zaretskii <eliz@gnu.org> 62014-09-16 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor): 8 * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor):
diff --git a/src/xdisp.c b/src/xdisp.c
index 909349b81b3..754862d59d1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13598,6 +13598,12 @@ redisplay_internal (void)
13598 13598
13599 if (mode_line_update_needed (w)) 13599 if (mode_line_update_needed (w))
13600 w->update_mode_line = 1; 13600 w->update_mode_line = 1;
13601
13602 /* If reconsider_clip_changes above decided that the narrowing
13603 in the current buffer changed, make sure all other windows
13604 showing that buffer will be redisplayed. */
13605 if (current_buffer->clip_changed)
13606 bset_update_mode_line (current_buffer);
13601 } 13607 }
13602 13608
13603 /* Normally the message* functions will have already displayed and 13609 /* Normally the message* functions will have already displayed and