Commit 3b59c351 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

Fix typos in comments and ChangeLogs.

parent 2b5491fa
......@@ -95,7 +95,7 @@
(with-temp-buffer
;; Insert a file of this format:
;; (CHAR NAME CATEGORY ...)
;; where CHAR is a charater code, the following elements are strings
;; where CHAR is a character code, the following elements are strings
;; representing character properties.
(insert-file-contents unidata-text-file)
(goto-char (point-min))
......
......@@ -100,7 +100,7 @@
;; D. Sorting and Composition of Smaller Blocks (`ucs-normalize-block-compose-chars')
;;
;; The block will be split to multiple samller blocks by starter
;; charcters. Each block is sorted, and composed if necessary.
;; characters. Each block is sorted, and composed if necessary.
;;
;; E. Composition of Entire Block (`ucs-normalize-compose-chars')
;;
......
......@@ -88,14 +88,14 @@ Bidirectional editing is supported.")))
;; corresponding glyph of FONT-OBJECT.
(defun hebrew-font-get-precomposed (font-object)
(let ((precomposed (font-get font-object 'hebrew-precomposed))
;; Vector of Hebrew precomposed charaters.
;; Vector of Hebrew precomposed characters.
(chars [#xFB2A #xFB2B #xFB2C #xFB2D #xFB2E #xFB2F #xFB30 #xFB31
#xFB32 #xFB33 #xFB34 #xFB35 #xFB36 #xFB38 #xFB39 #xFB3A
#xFB3B #xFB3C #xFB3E #xFB40 #xFB41 #xFB43 #xFB44 #xFB46
#xFB47 #xFB48 #xFB49 #xFB4A #xFB4B #xFB4C #xFB4D #xFB4E])
;; Vector of decomposition character sequences corresponding
;; to the above vector.
(decomposed
(decomposed
[[#x05E9 #x05C1]
[#x05E9 #x05C2]
[#x05E9 #x05BC #x05C1]
......
......@@ -20307,7 +20307,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.
 
......
......@@ -6914,7 +6914,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.
......
......@@ -13869,10 +13869,10 @@
1998-08-31 Kenichi Handa <handa@etl.go.jp>
* 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.
......
......@@ -2345,7 +2345,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);
......
......@@ -427,7 +427,7 @@ load_charset_map (struct charset *charset, struct charset_map_entries *entries,
/* 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 (FILE *fp, int *eof)
......
......@@ -3517,7 +3517,7 @@ 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;
......
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