aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier2013-11-05 23:11:04 -0500
committerStefan Monnier2013-11-05 23:11:04 -0500
commit94ae2ad44cfd711c836e0fbd86b9e133724482d5 (patch)
treea7ecfb60f2bd55f60bf5c5fe3d5e49c12e846ac4 /src/buffer.c
parentfeca4e2db9d9dd539b09da9c19f49865952b184d (diff)
downloademacs-94ae2ad44cfd711c836e0fbd86b9e133724482d5.tar.gz
emacs-94ae2ad44cfd711c836e0fbd86b9e133724482d5.zip
*.[chm]: Number every assignment to windows_or_buffers_changed.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 63198cd1018..9aed1909bbd 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2705,7 +2705,7 @@ current buffer is cleared. */)
2705 2705
2706 /* If buffer is shown in a window, let redisplay consider other windows. */ 2706 /* If buffer is shown in a window, let redisplay consider other windows. */
2707 if (buffer_window_count (current_buffer)) 2707 if (buffer_window_count (current_buffer))
2708 ++windows_or_buffers_changed; 2708 windows_or_buffers_changed = 10;
2709 2709
2710 /* Copy this buffer's new multibyte status 2710 /* Copy this buffer's new multibyte status
2711 into all of its indirect buffers. */ 2711 into all of its indirect buffers. */
@@ -3911,11 +3911,11 @@ modify_overlay (struct buffer *buf, ptrdiff_t start, ptrdiff_t end)
3911 { 3911 {
3912 /* ... it's visible in other window than selected, */ 3912 /* ... it's visible in other window than selected, */
3913 if (buf != XBUFFER (XWINDOW (selected_window)->contents)) 3913 if (buf != XBUFFER (XWINDOW (selected_window)->contents))
3914 windows_or_buffers_changed = 1; 3914 windows_or_buffers_changed = 11;
3915 /* ... or if we modify an overlay at the end of the buffer 3915 /* ... or if we modify an overlay at the end of the buffer
3916 and so we cannot be sure that window end is still valid. */ 3916 and so we cannot be sure that window end is still valid. */
3917 else if (end >= ZV && start <= ZV) 3917 else if (end >= ZV && start <= ZV)
3918 windows_or_buffers_changed = 1; 3918 windows_or_buffers_changed = 12;
3919 } 3919 }
3920 3920
3921 ++BUF_OVERLAY_MODIFF (buf); 3921 ++BUF_OVERLAY_MODIFF (buf);