Commit 5ad86e34 authored by Dmitry Antipov's avatar Dmitry Antipov

* 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).
parent e02703bd
2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
* doc-view.el (doc-view-display): Force mode line update until all
document is converted. Suggested by Stefan Monnier (Bug#13164).
2013-01-23 Bastien Guerry <bzg@gnu.org>
* paren.el (show-paren-function): Make sure an overlay exists
......
......@@ -1265,6 +1265,8 @@ have the page we want to view."
"[0-9]+")
t)
'doc-view-sort))
(unless (eq (length prev-pages) (length doc-view-current-files))
(force-mode-line-update))
(dolist (win (or (get-buffer-window-list buffer nil t)
(list t)))
(let* ((page (doc-view-current-page win))
......
2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
* insdel.c (prepare_to_modify_buffer): Revert last change as suggested
in http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00555.html.
2013-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
* xdisp.c (message2, message2_nolog): Remove functions.
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment