Mercurial > emacs
changeset 39320:4a21ecd55278
(BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and
BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 17 Sep 2001 16:07:51 +0000 |
parents | bce0864bc830 |
children | 71d86ec38224 |
files | src/buffer.h |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.h Mon Sep 17 15:51:54 2001 +0000 +++ b/src/buffer.h Mon Sep 17 16:07:51 2001 +0000 @@ -181,8 +181,9 @@ #define BUF_COMPUTE_UNCHANGED(buf, start, end) \ do \ { \ - if (BUF_UNCHANGED_MODIFIED (buf) == MODIFF \ - && BUF_OVERLAY_UNCHANGED_MODIFIED (buf) == OVERLAY_MODIFF) \ + if (BUF_UNCHANGED_MODIFIED (buf) == BUF_MODIFF (buf) \ + && (BUF_OVERLAY_UNCHANGED_MODIFIED (buf) \ + == BUF_OVERLAY_MODIFF (buf))) \ { \ BUF_BEG_UNCHANGED (buf) = (start) - BUF_BEG (buf); \ BUF_END_UNCHANGED (buf) = BUF_Z (buf) - (end); \