aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-23 00:11:34 +0000
committerGerd Moellmann1999-08-23 00:11:34 +0000
commit3770920e08dcd4bf5a23ab07473f85a3dcf320aa (patch)
treec7046ad71793a8f8ce0917cedbad6bd980d22d1c /src
parentd9138d5de0f3ffb08cfb1cb58efff3427f5736eb (diff)
downloademacs-3770920e08dcd4bf5a23ab07473f85a3dcf320aa.tar.gz
emacs-3770920e08dcd4bf5a23ab07473f85a3dcf320aa.zip
(mark_glyph_matrix): Mark strings only.
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 978c4240a28..571d6291c2b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2031,7 +2031,8 @@ clear_marks ()
2031} 2031}
2032#endif 2032#endif
2033 2033
2034/* Mark Lisp objects in glyph matrix MATRIX. */ 2034/* Mark Lisp objects in glyph matrix MATRIX. Currently the
2035 only interesting objects referenced from glyphs are strings. */
2035 2036
2036static void 2037static void
2037mark_glyph_matrix (matrix) 2038mark_glyph_matrix (matrix)
@@ -2052,11 +2053,7 @@ mark_glyph_matrix (matrix)
2052 2053
2053 while (glyph < end_glyph) 2054 while (glyph < end_glyph)
2054 { 2055 {
2055 if (/* OBJECT Is zero for face extending glyphs, padding 2056 if (GC_STRINGP (glyph->object))
2056 spaces and such. */
2057 glyph->object
2058 /* Marking the buffer itself should not be necessary. */
2059 && !BUFFERP (glyph->object))
2060 mark_object (&glyph->object); 2057 mark_object (&glyph->object);
2061 ++glyph; 2058 ++glyph;
2062 } 2059 }