emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117507: Fix bug #18490 with redisplay of other w


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 r117507: Fix bug #18490 with redisplay of other windows showing a narrowed buffer.
Date: Thu, 18 Sep 2014 15:11:27 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117507
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/18490
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Thu 2014-09-18 18:10:33 +0300
message:
  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.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xdisp.c                    xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-09-16 15:53:36 +0000
+++ b/src/ChangeLog     2014-09-18 15:10:33 +0000
@@ -1,3 +1,8 @@
+2014-09-18  Eli Zaretskii  <address@hidden>
+
+       * xdisp.c (redisplay_internal): Force redisplay of all windows
+       that show a buffer whose narrowing has changed.  (Bug#18490)
+
 2014-09-16  Eli Zaretskii  <address@hidden>
 
        * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor):

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2014-09-15 15:25:54 +0000
+++ b/src/xdisp.c       2014-09-18 15:10:33 +0000
@@ -13598,6 +13598,12 @@
 
       if (mode_line_update_needed (w))
        w->update_mode_line = 1;
+
+      /* If reconsider_clip_changes above decided that the narrowing
+        in the current buffer changed, make sure all other windows
+        showing that buffer will be redisplayed.  */
+      if (current_buffer->clip_changed)
+       bset_update_mode_line (current_buffer);
     }
 
   /* Normally the message* functions will have already displayed and


reply via email to

[Prev in Thread] Current Thread [Next in Thread]