; * src/xdisp.c: Fix typos in the commentary.

This commit is contained in:
Eli Zaretskii 2023-07-19 19:28:48 +03:00
parent 86f2d6d62f
commit 9d93c6ba14

View file

@ -109,11 +109,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
matrix', or `current matrix', in redisplay terminology. matrix', or `current matrix', in redisplay terminology.
For buffer parts that have been changed since the last redisplay, For buffer parts that have been changed since the last redisplay,
`redisplay_window' constructs a second glyph matrix is constructed, `redisplay_window' constructs a second glyph matrix, the so called
the so called `desired glyph matrix' or short `desired matrix'. It `desired glyph matrix' or short `desired matrix'. It does so in
does so in the most optimal way possible, avoiding the examination the most optimal way possible, avoiding the examination of text
of text that didn't change, reusing portions of the current matrix that didn't change, reusing portions of the current matrix if
if possible, etc. It could, in particular, decide that a window possible, etc. It could, in particular, decide that a window
doesn't need to be redisplayed at all. doesn't need to be redisplayed at all.
This second step of redisplay also updates the parts of the desired This second step of redisplay also updates the parts of the desired
@ -123,9 +123,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
In the third and last step, the current and desired matrix are then In the third and last step, the current and desired matrix are then
compared to find a cheap way to update the display, e.g. by reusing compared to find a cheap way to update the display, e.g. by reusing
part of the display by scrolling lines. The actual update of the part of the display by scrolling lines. The actual update of the
display of each window by comparing the desired and the current display of each window, by comparing the desired and the current
matrix is done by `update_window', which calls functions which draw matrix, is done by `update_window', which calls functions which
to the glass (those functions are specific to the type of the draw to the glass (those functions are specific to the type of the
window's frame: X, w32, NS, etc.). window's frame: X, w32, NS, etc.).
Once the display of a window on the glass has been updated, its Once the display of a window on the glass has been updated, its