emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111593: * src/insdel.c (prepare_to_m


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111593: * src/insdel.c (prepare_to_modify_buffer): Revert last change as suggested
Date: Thu, 24 Jan 2013 07:34:20 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111593
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Thu 2013-01-24 07:34:20 +0400
message:
  * 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).
modified:
  lisp/ChangeLog
  lisp/doc-view.el
  src/ChangeLog
  src/insdel.c
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-01-23 09:43:29 +0000
+++ b/lisp/ChangeLog    2013-01-24 03:34:20 +0000
@@ -1,3 +1,8 @@
+2013-01-24  Dmitry Antipov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * paren.el (show-paren-function): Make sure an overlay exists

=== modified file 'lisp/doc-view.el'
--- a/lisp/doc-view.el  2013-01-10 15:50:04 +0000
+++ b/lisp/doc-view.el  2013-01-24 03:34:20 +0000
@@ -1265,6 +1265,8 @@
                                            "[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))

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-01-23 20:07:28 +0000
+++ b/src/ChangeLog     2013-01-24 03:34:20 +0000
@@ -1,3 +1,8 @@
+2013-01-24  Dmitry Antipov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * xdisp.c (message2, message2_nolog): Remove functions.

=== modified file 'src/insdel.c'
--- a/src/insdel.c      2013-01-23 14:49:54 +0000
+++ b/src/insdel.c      2013-01-24 03:34:20 +0000
@@ -1804,12 +1804,9 @@
     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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]