* 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).
This commit is contained in:
Dmitry Antipov 2013-01-24 07:34:20 +04:00
parent e02703bda9
commit 5ad86e34d8
4 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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))