[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111589: * insdel.c (prepare_to_modif
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111589: * insdel.c (prepare_to_modify_buffer): Force redisplay if |
Date: |
Wed, 23 Jan 2013 18:49:54 +0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111589
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Wed 2013-01-23 18:49:54 +0400
message:
* insdel.c (prepare_to_modify_buffer): Force redisplay if
hidden buffer is prepared to modification (Bug#13164).
modified:
src/ChangeLog
src/insdel.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-01-22 11:48:00 +0000
+++ b/src/ChangeLog 2013-01-23 14:49:54 +0000
@@ -1,3 +1,8 @@
+2013-01-23 Dmitry Antipov <address@hidden>
+
+ * insdel.c (prepare_to_modify_buffer): Force redisplay if
+ hidden buffer is prepared to modification (Bug#13164).
+
2013-01-22 Dmitry Antipov <address@hidden>
* window.h (struct window): Change window_end_valid member from
=== modified file 'src/insdel.c'
--- a/src/insdel.c 2013-01-11 23:08:55 +0000
+++ b/src/insdel.c 2013-01-23 14:49:54 +0000
@@ -1804,9 +1804,12 @@
Fbarf_if_buffer_read_only ();
/* If we're modifying the buffer other than shown in a selected window,
- let redisplay consider other windows if this buffer is visible. */
+ let redisplay consider other windows if this buffer is visible or
+ hidden (although hidden buffers have zero window counts, their state
+ may affect the display too, e.g. via mode lines of other buffers). */
if (XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer
- && buffer_window_count (current_buffer))
+ && (buffer_window_count (current_buffer)
+ || BUFFER_HIDDEN_P (current_buffer)))
++windows_or_buffers_changed;
if (buffer_intervals (current_buffer))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111589: * insdel.c (prepare_to_modify_buffer): Force redisplay if,
Dmitry Antipov <=