]> git.eshelyaron.com Git - emacs.git/commitdiff
(BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and
authorGerd Moellmann <gerd@gnu.org>
Mon, 17 Sep 2001 16:07:51 +0000 (16:07 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 17 Sep 2001 16:07:51 +0000 (16:07 +0000)
BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF.

src/buffer.h

index 6089231811db2caeea0d10cbb4954e095d139a87..c90b12fb212db58fb6e1b920a5f933dde8bd81d2 100644 (file)
@@ -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);                \