diff options
| author | Eli Zaretskii | 2012-03-02 14:03:08 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-03-02 14:03:08 +0200 |
| commit | b8456c5c325733db94a5b6fa935b60a2e7de3581 (patch) | |
| tree | ef48f40a11eef1245f431c6693ee0d1e565ce87a /src | |
| parent | de0100f20b41cda924055c3c80e0b85db8386110 (diff) | |
| download | emacs-b8456c5c325733db94a5b6fa935b60a2e7de3581.tar.gz emacs-b8456c5c325733db94a5b6fa935b60a2e7de3581.zip | |
Fix typos in comments.
src/xdisp.c (redisplay_window, next_element_from_string): Fix typos in
comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c84854f2827..936ec6a3a1f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | * xdisp.c (try_window_reusing_current_matrix): Don't move cursor | 3 | * xdisp.c (try_window_reusing_current_matrix): Don't move cursor |
| 4 | position past the first glyph_row that ends at ZV. (Bug#10902) | 4 | position past the first glyph_row that ends at ZV. (Bug#10902) |
| 5 | (redisplay_window, next_element_from_string): Fix typos in | ||
| 6 | comments. | ||
| 5 | 7 | ||
| 6 | 2012-03-02 Glenn Morris <rgm@gnu.org> | 8 | 2012-03-02 Glenn Morris <rgm@gnu.org> |
| 7 | 9 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index f98df491f59..810a75fec5d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -7362,7 +7362,7 @@ next_element_from_string (struct it *it) | |||
| 7362 | if (it->current.overlay_string_index >= 0) | 7362 | if (it->current.overlay_string_index >= 0) |
| 7363 | { | 7363 | { |
| 7364 | /* Get the next character from an overlay string. In overlay | 7364 | /* Get the next character from an overlay string. In overlay |
| 7365 | strings, There is no field width or padding with spaces to | 7365 | strings, there is no field width or padding with spaces to |
| 7366 | do. */ | 7366 | do. */ |
| 7367 | if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) | 7367 | if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) |
| 7368 | { | 7368 | { |
| @@ -15602,7 +15602,7 @@ redisplay_window (Lisp_Object window, int just_this_one_p) | |||
| 15602 | accessible region of the buffer. This can happen when we | 15602 | accessible region of the buffer. This can happen when we |
| 15603 | have just switched to a different buffer and/or changed | 15603 | have just switched to a different buffer and/or changed |
| 15604 | its restriction. In that case, startp is initialized to | 15604 | its restriction. In that case, startp is initialized to |
| 15605 | the character position 1 (BEG) because we did not yet | 15605 | the character position 1 (BEGV) because we did not yet |
| 15606 | have chance to display the buffer even once. */ | 15606 | have chance to display the buffer even once. */ |
| 15607 | && BEGV <= CHARPOS (startp) && CHARPOS (startp) <= ZV) | 15607 | && BEGV <= CHARPOS (startp) && CHARPOS (startp) <= ZV) |
| 15608 | { | 15608 | { |