From 8307f92370e7d86aea2c78d0dbc06c5ace9c6f11 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 23 Feb 2011 20:56:30 +0100 Subject: Fix typos. --- src/ChangeLog | 2 +- src/ChangeLog.10 | 2 +- src/ChangeLog.8 | 6 +++--- src/buffer.c | 2 +- src/character.c | 2 +- src/charset.c | 2 +- src/editfns.c | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index f9c1581154..0fdc151e54 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -15960,7 +15960,7 @@ * search.c (search_buffer): Give up BM search on case-fold-search if one of a target character has a case-equivalence of different - byte length even if that target charcter is an ASCII. + byte length even if that target character is an ASCII. (simple_search): Fix calculation of byte length of matched text. (boyer_moore): Fix handling of case-equivalent multibyte characters. diff --git a/src/ChangeLog.10 b/src/ChangeLog.10 index b62faf1734..e012478447 100644 --- a/src/ChangeLog.10 +++ b/src/ChangeLog.10 @@ -6918,7 +6918,7 @@ * search.c (search_buffer): Give up BM search on case-fold-search if one of a target character has a case-equivalence of different - charset even if that target charcter is an ASCII. + charset even if that target character is an ASCII. * casefiddle.c (casify_object): Fix for the case that case conversion change the byte length. diff --git a/src/ChangeLog.8 b/src/ChangeLog.8 index 7481637671..6a7e11d701 100644 --- a/src/ChangeLog.8 +++ b/src/ChangeLog.8 @@ -13872,10 +13872,10 @@ 1998-08-31 Kenichi Handa * charset.c (unibyte_char_to_multibyte): - Vnonacii_translation_table will convert a 7-bit charcater. + Vnonacii_translation_table will convert a 7-bit character. (multibyte_char_to_unibyte): Handle the case that - Vnonacii_translation_table converts a multibyte charcater to a - unibyte charcter of less than 128. + Vnonacii_translation_table converts a multibyte character to a + unibyte character of less than 128. (init_charset_once): Initialize nonascii_insert_offset and Vnonacii_translation_table. diff --git a/src/buffer.c b/src/buffer.c index 4744356d1b..9220527313 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2429,7 +2429,7 @@ current buffer is cleared. */) { c = STRING_CHAR_AND_LENGTH (p, bytes); /* Delete all bytes for this 8-bit character but the - last one, and change the last one to the charcter + last one, and change the last one to the character code. */ bytes--; del_range_2 (pos, pos, pos + bytes, pos + bytes, 0); diff --git a/src/character.c b/src/character.c index a240e45d3d..b9ba15d1b0 100644 --- a/src/character.c +++ b/src/character.c @@ -829,7 +829,7 @@ str_as_unibyte (str, bytes) corresponding byte and store in DST. CHARS is the number of characters in SRC. The value is the number of bytes stored in DST. Usually, the value is the same as CHARS, but is less than it if SRC - contains a non-ASCII, non-eight-bit characater. If ACCEPT_LATIN_1 + contains a non-ASCII, non-eight-bit character. If ACCEPT_LATIN_1 is nonzero, a Latin-1 character is accepted and converted to a byte of that character code. Note: Currently the arg ACCEPT_LATIN_1 is not used. */ diff --git a/src/charset.c b/src/charset.c index c349093ad3..9ea1366d73 100644 --- a/src/charset.c +++ b/src/charset.c @@ -438,7 +438,7 @@ load_charset_map (charset, entries, n_entries, control_flag) /* Read a hexadecimal number (preceded by "0x") from the file FP while - paying attention to comment charcter '#'. */ + paying attention to comment character '#'. */ static INLINE unsigned read_hex (fp, eof) diff --git a/src/editfns.c b/src/editfns.c index fe5b039625..a751d6df3b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3623,12 +3623,12 @@ usage: (format STRING &rest OBJECTS) */) int multibyte = 0; /* When we make a multibyte string, we must pay attention to the byte combining problem, i.e., a byte may be combined with a - multibyte charcter of the previous string. This flag tells if we + multibyte character of the previous string. This flag tells if we must consider such a situation or not. */ int maybe_combine_byte; unsigned char *this_format; /* Precision for each spec, or -1, a flag value meaning no precision - was given in that spec. Element 0, corresonding to the format + was given in that spec. Element 0, corresponding to the format string itself, will not be used. Element NARGS, corresponding to no argument, *will* be assigned to in the case that a `%' and `.' occur after the final format specifier. */ -- cgit v1.2.3