aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorGerd Moellmann1999-12-28 12:13:02 +0000
committerGerd Moellmann1999-12-28 12:13:02 +0000
commit481b505472c397d389a75e4c4e0247b724cde746 (patch)
treeac625d56ae438a12d0d47b15635c8572a7704e2a /src/buffer.c
parent9d60f77200a72fa9367704b061ebba92b04b69c1 (diff)
downloademacs-481b505472c397d389a75e4c4e0247b724cde746.tar.gz
emacs-481b505472c397d389a75e4c4e0247b724cde746.zip
(modify_overlay): Always compute unchanged info.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 47d15e9fcf1..871a152484e 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -3088,6 +3088,8 @@ modify_overlay (buf, start, end)
3088 start = end; end = temp; 3088 start = end; end = temp;
3089 } 3089 }
3090 3090
3091 BUF_COMPUTE_UNCHANGED (buf, start, end);
3092
3091 /* If this is a buffer not in the selected window, 3093 /* If this is a buffer not in the selected window,
3092 we must do other windows. */ 3094 we must do other windows. */
3093 if (buf != XBUFFER (XWINDOW (selected_window)->buffer)) 3095 if (buf != XBUFFER (XWINDOW (selected_window)->buffer))
@@ -3095,8 +3097,6 @@ modify_overlay (buf, start, end)
3095 /* If multiple windows show this buffer, we must do other windows. */ 3097 /* If multiple windows show this buffer, we must do other windows. */
3096 else if (buffer_shared > 1) 3098 else if (buffer_shared > 1)
3097 windows_or_buffers_changed = 1; 3099 windows_or_buffers_changed = 1;
3098 else
3099 BUF_COMPUTE_UNCHANGED (buf, start, end);
3100 3100
3101 ++BUF_OVERLAY_MODIFF (buf); 3101 ++BUF_OVERLAY_MODIFF (buf);
3102} 3102}