summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-02-19 15:57:53 +0200
committerEli Zaretskii <eliz@gnu.org>2010-02-19 15:57:53 +0200
commite3670e004d588838a1975610951c036df470e428 (patch)
treecc0d998d2b07ab13e59ac68e7630daa7253e708e
parente41381817692f22466c09fe27368f6e26fb48aea (diff)
downloademacs-e3670e004d588838a1975610951c036df470e428.tar.gz
term.c, dispextern.h: Fix stale comments.
-rw-r--r--src/dispextern.h4
-rw-r--r--src/term.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 7efcc0ca83f..01ba3f54181 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2257,8 +2257,8 @@ struct it
&& ((IT)->c == '\n' \
|| ((IT)->c == '\r' && (IT)->selective)))
-/* Call produce_glyphs or produce_glyphs_hook, if set. Shortcut to
- avoid the function call overhead. */
+/* Call produce_glyphs or FRAME_RIF->produce_glyphs, if set. Shortcut
+ to avoid the function call overhead. */
#define PRODUCE_GLYPHS(IT) \
do { \
diff --git a/src/term.c b/src/term.c
index 56c76fc6009..7adaeeac1ae 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1568,8 +1568,9 @@ append_glyph (it)
and where in the glyph matrix we currently are (glyph row and hpos).
produce_glyphs fills in output fields of *IT with information such as the
pixel width and height of a character, and maybe output actual glyphs at
- the same time if IT->glyph_row is non-null. See the explanation of
- struct display_iterator in dispextern.h for an overview.
+ the same time if IT->glyph_row is non-null. For an overview, see
+ the explanation in dispextern.h, before the definition of the
+ display_element_type enumeration.
produce_glyphs also stores the result of glyph width, ascent
etc. computations in *IT.