From: Juanma Barranquero Date: Tue, 14 Sep 2010 20:32:35 +0000 (+0200) Subject: Fix typos in comments and ChangeLogs. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~119^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b59c3511cb74d944730b8156bbfd3bd7d8aa69f;p=emacs.git Fix typos in comments and ChangeLogs. --- diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el index 88e21d7226e..211c6f0a530 100644 --- a/admin/unidata/unidata-gen.el +++ b/admin/unidata/unidata-gen.el @@ -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)) diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index 5061e500587..59850621388 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el @@ -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') ;; diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index 24ddfb2c11f..bcc3d625d68 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el @@ -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] diff --git a/src/ChangeLog b/src/ChangeLog index 7f7a0d7a222..5685ec47683 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. diff --git a/src/ChangeLog.10 b/src/ChangeLog.10 index dd847f8a64e..14a0f012b06 100644 --- a/src/ChangeLog.10 +++ b/src/ChangeLog.10 @@ -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. diff --git a/src/ChangeLog.8 b/src/ChangeLog.8 index 4dd3d0dd071..4dac2b262b7 100644 --- a/src/ChangeLog.8 +++ b/src/ChangeLog.8 @@ -13869,10 +13869,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 39fabf581bb..84b60779b34 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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); diff --git a/src/charset.c b/src/charset.c index 036d7146db6..8051b11330e 100644 --- a/src/charset.c +++ b/src/charset.c @@ -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) diff --git a/src/editfns.c b/src/editfns.c index 1bd6682c3b6..add2f37109b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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;