]> code.delx.au - gnu-emacs/commitdiff
* print.c: Get rid of extra space at the end of print syntax for
authorJim Blandy <jimb@redhat.com>
Tue, 6 Jul 1993 07:44:36 +0000 (07:44 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 6 Jul 1993 07:44:36 +0000 (07:44 +0000)
strings with intervals.
[USE_TEXT_PROPERTIES] (print): Don't print a space before the
interval property lists.
[USE_TEXT_PROPERTIES] (print_interval): Print a space before this
internal's properties, not after.

src/print.c

index 3336a565b1d945d80dd337aa4e1029f8e6eaf411..cd295fcdc0e2c5965a89c1363e736bc39da6e184 100644 (file)
@@ -784,7 +784,6 @@ print (obj, printcharfun, escapeflag)
 #ifdef USE_TEXT_PROPERTIES
          if (!NULL_INTERVAL_P (XSTRING (obj)->intervals))
            {
-             PRINTCHAR (' ');
              traverse_intervals (XSTRING (obj)->intervals,
                                  0, 0, print_interval, printcharfun);
              PRINTCHAR (')');
@@ -991,13 +990,13 @@ print_interval (interval, printcharfun)
      INTERVAL interval;
      Lisp_Object printcharfun;
 {
+  PRINTCHAR (' ');
   print (make_number (interval->position), printcharfun, 1);
   PRINTCHAR (' ');
   print (make_number (interval->position + LENGTH (interval)),
         printcharfun, 1);
   PRINTCHAR (' ');
   print (interval->plist, printcharfun, 1);
-  PRINTCHAR (' ');
 }
 
 #endif /* USE_TEXT_PROPERTIES */