From: Richard M. Stallman Date: Wed, 3 Apr 2002 15:19:39 +0000 (+0000) Subject: Comment change. X-Git-Tag: ttn-vms-21-2-B4~15800 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b50fe468c82a54cfd12c24036a8ad7572381001b;p=emacs.git Comment change. --- diff --git a/src/process.c b/src/process.c index b7c5076a2a9..06e931af9b6 100644 --- a/src/process.c +++ b/src/process.c @@ -5788,7 +5788,8 @@ exec_sentinel (proc, reason) /* Report all recent events of a change in process status (either run the sentinel or output a message). - This is done while Emacs is waiting for keyboard input. */ + This is usually done while Emacs is waiting for keyboard input + but can be done at other times. */ void status_notify () diff --git a/src/term.c b/src/term.c index 19a1afa8c12..66f1c54ffd9 100644 --- a/src/term.c +++ b/src/term.c @@ -1637,11 +1637,23 @@ append_glyph (it) } -/* Produce glyphs for the display element described by IT. The - function fills output fields of IT with pixel information like the - pixel width and height of a character, and maybe produces glyphs at +/* Produce glyphs for the display element described by IT. *IT + specifies what we want to produce a glyph for (character, image, ...), + 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. */ + struct display_iterator in dispextern.h for an overview. + + produce_glyphs also stores the result of glyph width, ascent + etc. computations in *IT. + + IT->glyph_row may be null, in which case produce_glyphs does not + actually fill in the glyphs. This is used in the move_* functions + in xdisp.c for text width and height computations. + + Callers usually don't call produce_glyphs directly; + instead they use the macro PRODUCE_GLYPHS. */ void produce_glyphs (it)