summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
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 /lisp/doc-view.el
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 'lisp/doc-view.el')
-rw-r--r--lisp/doc-view.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index fa54eef828d..30aa3a09bf2 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -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))