Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b8456c5c
Commit
b8456c5c
authored
Mar 02, 2012
by
Eli Zaretskii
Browse files
Fix typos in comments.
src/xdisp.c (redisplay_window, next_element_from_string): Fix typos in comments.
parent
de0100f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/ChangeLog
src/ChangeLog
+2
-0
src/xdisp.c
src/xdisp.c
+2
-2
No files found.
src/ChangeLog
View file @
b8456c5c
...
...
@@ -2,6 +2,8 @@
* xdisp.c (try_window_reusing_current_matrix): Don't move cursor
position past the first glyph_row that ends at ZV. (Bug#10902)
(redisplay_window, next_element_from_string): Fix typos in
comments.
2012-03-02 Glenn Morris <rgm@gnu.org>
...
...
src/xdisp.c
View file @
b8456c5c
...
...
@@ -7362,7 +7362,7 @@ next_element_from_string (struct it *it)
if (it->current.overlay_string_index >= 0)
{
/* Get the next character from an overlay string. In overlay
strings,
T
here is no field width or padding with spaces to
strings,
t
here is no field width or padding with spaces to
do. */
if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string))
{
...
...
@@ -15602,7 +15602,7 @@ redisplay_window (Lisp_Object window, int just_this_one_p)
accessible region of the buffer. This can happen when we
have just switched to a different buffer and/or changed
its restriction. In that case, startp is initialized to
the character position 1 (BEG) because we did not yet
the character position 1 (BEG
V
) because we did not yet
have chance to display the buffer even once. */
&& BEGV <= CHARPOS (startp) && CHARPOS (startp) <= ZV)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment