summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-07-19 19:28:48 +0300
committerEli Zaretskii <eliz@gnu.org>2023-07-19 19:28:48 +0300
commit9d93c6ba14aa0bdb312553ebbda751fe70c14852 (patch)
treed6c7a1eb7751b3c12e3b9a5d612e6cde2639e506
parent86f2d6d62fce90d19815503e3e99ac9c4d4585af (diff)
downloademacs-9d93c6ba14aa0bdb312553ebbda751fe70c14852.tar.gz
; * src/xdisp.c: Fix typos in the commentary.
-rw-r--r--src/xdisp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 3a347c1f923..5a014e87e6c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -109,11 +109,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
matrix', or `current matrix', in redisplay terminology.
For buffer parts that have been changed since the last redisplay,
- `redisplay_window' constructs a second glyph matrix is constructed,
- the so called `desired glyph matrix' or short `desired matrix'. It
- does so in the most optimal way possible, avoiding the examination
- of text that didn't change, reusing portions of the current matrix
- if possible, etc. It could, in particular, decide that a window
+ `redisplay_window' constructs a second glyph matrix, the so called
+ `desired glyph matrix' or short `desired matrix'. It does so in
+ the most optimal way possible, avoiding the examination of text
+ that didn't change, reusing portions of the current matrix if
+ possible, etc. It could, in particular, decide that a window
doesn't need to be redisplayed at all.
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
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
- display of each window by comparing the desired and the current
- matrix is done by `update_window', which calls functions which draw
- to the glass (those functions are specific to the type of the
+ display of each window, by comparing the desired and the current
+ matrix, is done by `update_window', which calls functions which
+ draw to the glass (those functions are specific to the type of the
window's frame: X, w32, NS, etc.).
Once the display of a window on the glass has been updated, its