summaryrefslogtreecommitdiff
path: root/src/insdel.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-01-24 07:34:20 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-01-24 07:34:20 +0400
commit5ad86e34d86173f6495b38336d377de5b69da853 (patch)
tree2210327e1d4ad35a910bf30b7fb49ec3b8ea0e12 /src/insdel.c
parente02703bda99855408580c2effaf1dd36911aa8df (diff)
downloademacs-5ad86e34d86173f6495b38336d377de5b69da853.tar.gz
* src/insdel.c (prepare_to_modify_buffer): Revert last change as suggested
in http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00555.html. * lisp/doc-view.el (doc-view-display): Force mode line update until all document is converted. Suggested by Stefan Monnier (Bug#13164).
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 98dd97bdd08..303247816ca 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1804,12 +1804,9 @@ prepare_to_modify_buffer (ptrdiff_t start, ptrdiff_t end,
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 or
- hidden (although hidden buffers have zero window counts, their state
- may affect the display too, e.g. via mode lines of other buffers). */
+ let redisplay consider other windows if this buffer is visible. */
if (XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer
- && (buffer_window_count (current_buffer)
- || BUFFER_HIDDEN_P (current_buffer)))
+ && buffer_window_count (current_buffer))
++windows_or_buffers_changed;
if (buffer_intervals (current_buffer))