diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 6 |
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); |