aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-08-29 14:41:28 +0000
committerRichard M. Stallman2002-08-29 14:41:28 +0000
commit18155a1d5a93cec23255becab15f26e77cace9e7 (patch)
tree1953d972846a49df882ef7b1387de2401733f48a
parent26683087ad6d9845356845ca6cb441cee5304670 (diff)
downloademacs-18155a1d5a93cec23255becab15f26e77cace9e7.tar.gz
emacs-18155a1d5a93cec23255becab15f26e77cace9e7.zip
(PRODUCE_GLYPHS): Set inhibit_free_realized_faces
when iterator is adding glyphs to a glyph matrix.
-rw-r--r--src/dispextern.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 682bf0b8f3c..5d82f6f71c1 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1852,10 +1852,16 @@ struct it
1852/* Call produce_glyphs or produce_glyphs_hook, if set. Shortcut to 1852/* Call produce_glyphs or produce_glyphs_hook, if set. Shortcut to
1853 avoid the function call overhead. */ 1853 avoid the function call overhead. */
1854 1854
1855#define PRODUCE_GLYPHS(IT) \ 1855#define PRODUCE_GLYPHS(IT) \
1856 (rif \ 1856 do { \
1857 ? rif->produce_glyphs ((IT)) \ 1857 extern int inhibit_free_realized_faces; \
1858 : produce_glyphs ((IT))) 1858 if (rif != NULL) \
1859 rif->produce_glyphs ((IT)); \
1860 else \
1861 produce_glyphs ((IT)); \
1862 if ((IT)->glyph_row != NULL) \
1863 inhibit_free_realized_faces = 1; \
1864 } while (0)
1859 1865
1860/* Bit-flags indicating what operation move_it_to should perform. */ 1866/* Bit-flags indicating what operation move_it_to should perform. */
1861 1867