From: Gerd Moellmann Date: Mon, 17 Sep 2001 16:07:51 +0000 (+0000) Subject: (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and X-Git-Tag: emacs-pretest-21.0.106~88 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a6bd51ae7914ae7fc631ff31ba478a0d6d71a81;p=emacs.git (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF. --- diff --git a/src/buffer.h b/src/buffer.h index 6089231811d..c90b12fb212 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -181,8 +181,9 @@ Boston, MA 02111-1307, USA. */ #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); \