changeset 20981:0ce30e7ba2b8

Reorder args of del_range_both.
author Karl Heuer <kwzh@gnu.org>
date Wed, 25 Feb 1998 23:16:37 +0000
parents 85cc901f00ee
children 3a01b0f0338f
files src/abbrev.c src/minibuf.c src/xdisp.c
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/abbrev.c	Wed Feb 25 23:09:07 1998 +0000
+++ b/src/abbrev.c	Wed Feb 25 23:16:37 1998 +0000
@@ -321,7 +321,7 @@
     {
       SET_PT (wordstart);
 
-      del_range_both (wordstart, wordend, wordstart_byte, wordend_byte, 1);
+      del_range_both (wordstart, wordstart_byte, wordend, wordend_byte, 1);
 
       insert_from_string (expansion, 0, 0, XSTRING (expansion)->size,
 			  XSTRING (expansion)->size_byte, 1);
--- a/src/minibuf.c	Wed Feb 25 23:09:07 1998 +0000
+++ b/src/minibuf.c	Wed Feb 25 23:16:37 1998 +0000
@@ -1977,7 +1977,7 @@
   SET_PT_BOTH (opoint, opoint_byte);
   Vinhibit_quit = Qt;
   Fsit_for (make_number (2), Qnil, Qnil);
-  del_range_both (osize, ZV, osize_byte, ZV_BYTE, 1);
+  del_range_both (osize, osize_byte, ZV, ZV_BYTE, 1);
   SET_PT_BOTH (opoint, opoint_byte);
   if (!NILP (Vquit_flag))
     {
--- a/src/xdisp.c	Wed Feb 25 23:09:07 1998 +0000
+++ b/src/xdisp.c	Wed Feb 25 23:16:37 1998 +0000
@@ -364,8 +364,8 @@
 						 this_bol, this_bol_byte);
 	      if (dup)
 		{
-		  del_range_both (prev_bol, this_bol,
-				  prev_bol_byte, this_bol_byte, 0);
+		  del_range_both (prev_bol, prev_bol_byte,
+				  this_bol, this_bol_byte, 0);
 		  if (dup > 1)
 		    {
 		      char dupstr[40];
@@ -385,7 +385,7 @@
 	    {
 	      scan_newline (Z, Z_BYTE, BEG, BEG_BYTE,
 			    -XFASTINT (Vmessage_log_max) - 1, 0);
-	      del_range_both (BEG, PT, BEG_BYTE, PT_BYTE, 0);
+	      del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, 0);
 	    }
 	}
       BEGV = XMARKER (oldbegv)->charpos;