changeset 76688:f071ad404b30

(merge_properties, intervals_equal): Use Fplist_member instead of Fmemq to find properties.
author Kim F. Storm <storm@cua.dk>
date Fri, 23 Mar 2007 15:42:48 +0000
parents b18589e10102
children 9bb519568fdf
files src/intervals.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Fri Mar 23 15:42:08 2007 +0000
+++ b/src/intervals.c	Fri Mar 23 15:42:48 2007 +0000
@@ -125,7 +125,7 @@
   while (CONSP (o))
     {
       sym = XCAR (o);
-      val = Fmemq (sym, target->plist);
+      val = Fplist_member (sym, target->plist);
 
       if (NILP (val))
 	{
@@ -168,7 +168,7 @@
 	return 0;
 
       i0_sym = XCAR (i0_cdr);
-      i1_val = Fmemq (i0_sym, i1->plist);
+      i1_val = Fplist_member (i0_sym, i1->plist);
 
       /* i0 has something i1 doesn't.  */
       if (EQ (i1_val, Qnil))
@@ -2538,7 +2538,7 @@
 	  temp = CHAR_TO_BYTE (left_end);
 
 	  /* If LEFT_END_BYTE is in the middle of a character,
-	     adjust it and LEFT_END to a char boundary.  */ 
+	     adjust it and LEFT_END to a char boundary.  */
 	  if (left_end_byte > temp)
 	    {
 	      left_end_byte = temp;
@@ -2570,7 +2570,7 @@
 	  right_start = BYTE_TO_CHAR (right_start_byte);
 
 	  /* If RIGHT_START_BYTE is in the middle of a character,
-	     adjust it and RIGHT_START to a char boundary.  */ 
+	     adjust it and RIGHT_START to a char boundary.  */
 	  temp = CHAR_TO_BYTE (right_start);
 
 	  if (right_start_byte < temp)