aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-07-06 07:44:36 +0000
committerJim Blandy1993-07-06 07:44:36 +0000
commit30503c0bab8f0a86a0cb4f1133df43110b77fea2 (patch)
treebb9ae138c5da18e9d55f930b4857ff8e52fb8451 /src
parentd902a61114d55101ca66996df25fd985187862e4 (diff)
downloademacs-30503c0bab8f0a86a0cb4f1133df43110b77fea2.tar.gz
emacs-30503c0bab8f0a86a0cb4f1133df43110b77fea2.zip
* print.c: Get rid of extra space at the end of print syntax for
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.
Diffstat (limited to 'src')
-rw-r--r--src/print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c
index 3336a565b1d..cd295fcdc0e 100644
--- a/src/print.c
+++ b/src/print.c
@@ -784,7 +784,6 @@ print (obj, printcharfun, escapeflag)
784#ifdef USE_TEXT_PROPERTIES 784#ifdef USE_TEXT_PROPERTIES
785 if (!NULL_INTERVAL_P (XSTRING (obj)->intervals)) 785 if (!NULL_INTERVAL_P (XSTRING (obj)->intervals))
786 { 786 {
787 PRINTCHAR (' ');
788 traverse_intervals (XSTRING (obj)->intervals, 787 traverse_intervals (XSTRING (obj)->intervals,
789 0, 0, print_interval, printcharfun); 788 0, 0, print_interval, printcharfun);
790 PRINTCHAR (')'); 789 PRINTCHAR (')');
@@ -991,13 +990,13 @@ print_interval (interval, printcharfun)
991 INTERVAL interval; 990 INTERVAL interval;
992 Lisp_Object printcharfun; 991 Lisp_Object printcharfun;
993{ 992{
993 PRINTCHAR (' ');
994 print (make_number (interval->position), printcharfun, 1); 994 print (make_number (interval->position), printcharfun, 1);
995 PRINTCHAR (' '); 995 PRINTCHAR (' ');
996 print (make_number (interval->position + LENGTH (interval)), 996 print (make_number (interval->position + LENGTH (interval)),
997 printcharfun, 1); 997 printcharfun, 1);
998 PRINTCHAR (' '); 998 PRINTCHAR (' ');
999 print (interval->plist, printcharfun, 1); 999 print (interval->plist, printcharfun, 1);
1000 PRINTCHAR (' ');
1001} 1000}
1002 1001
1003#endif /* USE_TEXT_PROPERTIES */ 1002#endif /* USE_TEXT_PROPERTIES */