diff options
| author | Eli Zaretskii | 2023-07-19 19:28:48 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-07-19 19:28:48 +0300 |
| commit | 9d93c6ba14aa0bdb312553ebbda751fe70c14852 (patch) | |
| tree | d6c7a1eb7751b3c12e3b9a5d612e6cde2639e506 | |
| parent | 86f2d6d62fce90d19815503e3e99ac9c4d4585af (diff) | |
| download | emacs-9d93c6ba14aa0bdb312553ebbda751fe70c14852.tar.gz emacs-9d93c6ba14aa0bdb312553ebbda751fe70c14852.zip | |
; * src/xdisp.c: Fix typos in the commentary.
| -rw-r--r-- | src/xdisp.c | 16 |
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/>. */ | |||
| 109 | matrix', or `current matrix', in redisplay terminology. | 109 | matrix', or `current matrix', in redisplay terminology. |
| 110 | 110 | ||
| 111 | For buffer parts that have been changed since the last redisplay, | 111 | For buffer parts that have been changed since the last redisplay, |
| 112 | `redisplay_window' constructs a second glyph matrix is constructed, | 112 | `redisplay_window' constructs a second glyph matrix, the so called |
| 113 | the so called `desired glyph matrix' or short `desired matrix'. It | 113 | `desired glyph matrix' or short `desired matrix'. It does so in |
| 114 | does so in the most optimal way possible, avoiding the examination | 114 | the most optimal way possible, avoiding the examination of text |
| 115 | of text that didn't change, reusing portions of the current matrix | 115 | that didn't change, reusing portions of the current matrix if |
| 116 | if possible, etc. It could, in particular, decide that a window | 116 | possible, etc. It could, in particular, decide that a window |
| 117 | doesn't need to be redisplayed at all. | 117 | doesn't need to be redisplayed at all. |
| 118 | 118 | ||
| 119 | This second step of redisplay also updates the parts of the desired | 119 | 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/>. */ | |||
| 123 | In the third and last step, the current and desired matrix are then | 123 | In the third and last step, the current and desired matrix are then |
| 124 | compared to find a cheap way to update the display, e.g. by reusing | 124 | compared to find a cheap way to update the display, e.g. by reusing |
| 125 | part of the display by scrolling lines. The actual update of the | 125 | part of the display by scrolling lines. The actual update of the |
| 126 | display of each window by comparing the desired and the current | 126 | display of each window, by comparing the desired and the current |
| 127 | matrix is done by `update_window', which calls functions which draw | 127 | matrix, is done by `update_window', which calls functions which |
| 128 | to the glass (those functions are specific to the type of the | 128 | draw to the glass (those functions are specific to the type of the |
| 129 | window's frame: X, w32, NS, etc.). | 129 | window's frame: X, w32, NS, etc.). |
| 130 | 130 | ||
| 131 | Once the display of a window on the glass has been updated, its | 131 | Once the display of a window on the glass has been updated, its |