aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-21 22:29:26 +0000
committerRichard M. Stallman1993-07-21 22:29:26 +0000
commit5f60ed47d9d0481a30981e248a738dfe1b143e3c (patch)
tree4e7043bc06ea623f5f219aced6d8dc06c62f0d3c /src/alloc.c
parentedc28db1ae35ceb0879040588d73077616bc369f (diff)
downloademacs-5f60ed47d9d0481a30981e248a738dfe1b143e3c.tar.gz
emacs-5f60ed47d9d0481a30981e248a738dfe1b143e3c.zip
(compact_strings): Add USE_TEXT_PROPERTIES conditional.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 93146526118..a411071067f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2082,6 +2082,7 @@ compact_strings ()
2082 /* Store the actual size in the size field. */ 2082 /* Store the actual size in the size field. */
2083 newaddr->size = size; 2083 newaddr->size = size;
2084 2084
2085#ifdef USE_TEXT_PROPERTIES
2085 /* Now that the string has been relocated, rebalance its 2086 /* Now that the string has been relocated, rebalance its
2086 interval tree, and update the tree's parent pointer. */ 2087 interval tree, and update the tree's parent pointer. */
2087 if (! NULL_INTERVAL_P (newaddr->intervals)) 2088 if (! NULL_INTERVAL_P (newaddr->intervals))
@@ -2091,6 +2092,7 @@ compact_strings ()
2091 Lisp_String, 2092 Lisp_String,
2092 newaddr); 2093 newaddr);
2093 } 2094 }
2095#endif /* USE_TEXT_PROPERTIES */
2094 } 2096 }
2095 pos += STRING_FULLSIZE (size); 2097 pos += STRING_FULLSIZE (size);
2096 } 2098 }