From: Eli Zaretskii Date: Fri, 19 Feb 2010 13:57:53 +0000 (+0200) Subject: term.c, dispextern.h: Fix stale comments. X-Git-Tag: emacs-pretest-23.1.93~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3670e004d588838a1975610951c036df470e428;p=emacs.git term.c, dispextern.h: Fix stale comments. --- 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.