changeset 110361:4d54e23aa31e

Fix typos in comments and ChangeLogs.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 14 Sep 2010 22:32:35 +0200
parents 01aabf6189ef
children ccf206bc1b3a a5feb0659965
files admin/unidata/unidata-gen.el lisp/international/ucs-normalize.el lisp/language/hebrew.el src/ChangeLog src/ChangeLog.10 src/ChangeLog.8 src/buffer.c src/charset.c src/editfns.c
diffstat 9 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/admin/unidata/unidata-gen.el	Tue Sep 14 22:17:28 2010 +0200
+++ b/admin/unidata/unidata-gen.el	Tue Sep 14 22:32:35 2010 +0200
@@ -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))
--- a/lisp/international/ucs-normalize.el	Tue Sep 14 22:17:28 2010 +0200
+++ b/lisp/international/ucs-normalize.el	Tue Sep 14 22:32:35 2010 +0200
@@ -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')
 ;;
--- a/lisp/language/hebrew.el	Tue Sep 14 22:17:28 2010 +0200
+++ b/lisp/language/hebrew.el	Tue Sep 14 22:32:35 2010 +0200
@@ -88,14 +88,14 @@
 ;; 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]
--- a/src/ChangeLog	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/ChangeLog	Tue Sep 14 22:32:35 2010 +0200
@@ -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.
 
--- a/src/ChangeLog.10	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/ChangeLog.10	Tue Sep 14 22:32:35 2010 +0200
@@ -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.
--- a/src/ChangeLog.8	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/ChangeLog.8	Tue Sep 14 22:32:35 2010 +0200
@@ -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.
 
--- a/src/buffer.c	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/buffer.c	Tue Sep 14 22:32:35 2010 +0200
@@ -2345,7 +2345,7 @@
 	    {
 	      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);
--- a/src/charset.c	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/charset.c	Tue Sep 14 22:32:35 2010 +0200
@@ -427,7 +427,7 @@
 
 
 /* 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)
--- a/src/editfns.c	Tue Sep 14 22:17:28 2010 +0200
+++ b/src/editfns.c	Tue Sep 14 22:32:35 2010 +0200
@@ -3517,7 +3517,7 @@
   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;