Commit 2b34df4e authored by Juanma Barranquero's avatar Juanma Barranquero

Fix typos in comments.

parent 04075952
......@@ -199,7 +199,7 @@ gap_left (EMACS_INT charpos, EMACS_INT bytepos, int newgap)
QUIT;
}
/* Move the gap to a position greater than than the current GPT.
/* Move the gap to a position greater than the current GPT.
BYTEPOS describes the new position as a byte position,
and CHARPOS is the corresponding char position. */
......
......@@ -2400,7 +2400,7 @@ set_image_of_range_1 (work_area, start, end, translate)
#endif /* emacs */
/* Record the the image of the range start..end when passed through
/* Record the image of the range start..end when passed through
TRANSLATE. This is not necessarily TRANSLATE(start)..TRANSLATE(end)
and is not even necessarily contiguous.
Normally we approximate it with the smallest contiguous range that contains
......
......@@ -341,7 +341,7 @@ dec_bytepos (bytepos)
return bytepos;
}
/* Return a defun-start position before before POS and not too far before.
/* Return a defun-start position before POS and not too far before.
It should be the last one before POS, or nearly the last.
When open_paren_in_column_0_is_defun_start is nonzero,
......
......@@ -1808,8 +1808,8 @@ append_composite_glyph (it)
/* Produce a composite glyph for iterator IT. IT->cmp_id is the ID of
the composition. We simply produces components of the composition
assuming that that the terminal has a capability to layout/render
it correctly. */
assuming that the terminal has a capability to layout/render it
correctly. */
static void
produce_composite_glyph (it)
......
......@@ -498,7 +498,7 @@ write_segment (new, ptr, end)
)
{
/* Write only a page of zeros at once,
so that we we don't overshoot the start
so that we don't overshoot the start
of the valid memory in the old data segment. */
if (nwrite > pagesize)
nwrite = pagesize;
......
......@@ -22711,7 +22711,7 @@ x_update_cursor (f, on_p)
/* EXPORT:
Clear the cursor of window W to background color, and mark the
cursor as not shown. This is used when the text where the cursor
is is about to be rewritten. */
is about to be rewritten. */
void
x_clear_cursor (w)
......
......@@ -2953,7 +2953,7 @@ x_make_gc (f)
}
/* Free what was was allocated in x_make_gc. */
/* Free what was allocated in x_make_gc. */
void
x_free_gcs (f)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment