changeset 10308:90784ed0416f

Use SAVE_MODIFF and BUF_SAVE_MODIFF instead of direct access to the save_modiff field. (Ftranspose_regions): Use BUF_INTERVALS. (transpose_markers): Use BUF_MARKERS.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Jan 1995 09:16:42 +0000
parents e6e75fd0916d
children fe2243b3186b
files src/editfns.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Mon Jan 02 09:15:25 1995 +0000
+++ b/src/editfns.c	Mon Jan 02 09:16:42 1995 +0000
@@ -1290,8 +1290,8 @@
 
 	      if (! NILP (noundo))
 		{
-		  if (MODIFF - 1 == current_buffer->save_modified)
-		    current_buffer->save_modified++;
+		  if (MODIFF - 1 == SAVE_MODIFF)
+		    SAVE_MODIFF++;
 		  if (MODIFF - 1 == current_buffer->auto_save_modified)
 		    current_buffer->auto_save_modified++;
 		}
@@ -1862,7 +1862,7 @@
   amt1 = (end2 - start2) + (start2 - end1);
   amt2 = (end1 - start1) + (start2 - end1);
 
-  for (marker = current_buffer->markers; !NILP (marker);
+  for (marker = BUF_MARKERS (current_buffer); !NILP (marker);
        marker = XMARKER (marker)->chain)
     {
       mpos = Fmarker_position (marker);
@@ -1898,7 +1898,7 @@
 
 #ifdef USE_TEXT_PROPERTIES
   INTERVAL cur_intv, tmp_interval1, tmp_interval_mid, tmp_interval2;
-  cur_intv = current_buffer->intervals;
+  cur_intv = BUF_INTERVALS (current_buffer);
 #endif /* USE_TEXT_PROPERTIES */
 
   validate_region (&startr1, &endr1);