diff src/extents.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents 1e7cc382eb16
children 141c2920ea48 3742ea8250b5
line wrap: on
line diff
--- a/src/extents.c	Tue Oct 25 08:32:50 2005 +0000
+++ b/src/extents.c	Tue Oct 25 11:16:49 2005 +0000
@@ -3733,10 +3733,10 @@
 		      Dynarr_length (newprops), sizeof (Lisp_Object_pair),
 		      compare_key_value_pairs))
 	  {
-	    Lisp_Object_pair new;
-	    new.key = Dynarr_at (oldprops, i).key;
-	    new.value = Qunbound;
-	    Dynarr_add (newprops, new);
+	    Lisp_Object_pair new_;
+	    new_.key = Dynarr_at (oldprops, i).key;
+	    new_.value = Qunbound;
+	    Dynarr_add (newprops, new_);
 	  }
       }
     for (i = 0; i < orignewlength; i++)
@@ -3747,10 +3747,10 @@
 						   sizeof (Lisp_Object_pair),
 						   compare_key_value_pairs))
 	  {
-	    Lisp_Object_pair new;
-	    new.key = Dynarr_at (newprops, i).key;
-	    new.value = Qunbound;
-	    Dynarr_add (oldprops, new);
+	    Lisp_Object_pair new_;
+	    new_.key = Dynarr_at (newprops, i).key;
+	    new_.value = Qunbound;
+	    Dynarr_add (oldprops, new_);
 	  }
       }
     qsort (Dynarr_atp (oldprops, 0), Dynarr_length (oldprops),
@@ -6525,7 +6525,7 @@
   Lisp_Object extent;
 
   /* text_props_only specifies whether we only consider text-property
-     extents (those with the 'text-prop property set) or all extents. */
+     extents (those with the `text-prop' property set) or all extents. */
   if (!text_props_only)
     extent = extent_at (position, object, prop, 0, fl, 0);
   else
@@ -6665,8 +6665,8 @@
 
   extent = wrap_extent (e);
 
-  /* Note: in some cases when the property itself is 'start-open
-     or 'end-closed, the checks to set the openness may do a bit
+  /* Note: in some cases when the property itself is `start-open'
+     or `end-closed', the checks to set the openness may do a bit
      of extra work; but it won't hurt because we then fix up the
      openness later on in put_text_prop_openness_mapper(). */
   if (!EQ (Fextent_property (extent, Qtext_prop, Qnil), closure->prop))