From: Juanma Barranquero Date: Tue, 12 Oct 2010 15:16:57 +0000 (+0200) Subject: Fix typos in docstrings, comments and ChangeLogs. X-Git-Tag: emacs-pretest-23.2.90~62^2~3 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/51e4f4a88de94846f6b44b3e11496c7b67aa2f5e Fix typos in docstrings, comments and ChangeLogs. * lisp/composite.el (compose-region): * src/ccl.c (Fccl_execute_on_string): Fix typo in docstring. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f3275116a9..6e922bcacd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,11 +1,15 @@ - 2010-10-10 Jan Djärv - - * term/ns-win.el (ns-right-alternate-modifier): New defvar. - (ns-right-option-modifier): New alias for ns-right-alternate-modifier. - (mac-right-option-modifier): New alias for ns-right-option-modifier. - - * cus-start.el (all): ns-right-alternate-modifier is new. - +2010-10-12 Juanma Barranquero + + * composite.el (compose-region): Fix typo in docstring. + +2010-10-10 Jan Djärv + + * term/ns-win.el (ns-right-alternate-modifier): New defvar. + (ns-right-option-modifier): New alias for ns-right-alternate-modifier. + (mac-right-option-modifier): New alias for ns-right-option-modifier. + + * cus-start.el (all): ns-right-alternate-modifier is new. + 2010-10-10 Andreas Schwab * Makefile.in (ELCFILES): Update. diff --git a/lisp/ChangeLog.7 b/lisp/ChangeLog.7 index 6858c07d85..cc813b263c 100644 --- a/lisp/ChangeLog.7 +++ b/lisp/ChangeLog.7 @@ -1043,10 +1043,10 @@ (quail-prev-translation-block): Likewise. (quail-conversion-backward-char): Call quail-error instead of error. Set quail-translating to nil. - (quail-conversion-forward-char): Likewize. + (quail-conversion-forward-char): Likewise. (quail-conversion-delete-char): Call quail-error instead of error. If conversion region gets vacant, set quail-converting to nil. - (quail-conversion-backward-delete-char): Likewize. + (quail-conversion-backward-delete-char): Likewise. (quail-no-conversion): Just set quail-converting to nil. (quail-mouse-choose-completion): Call quai-error instead of error. (quail-choose-completion-string): Likewise. diff --git a/lisp/ChangeLog.8 b/lisp/ChangeLog.8 index 8ecf3f0e33..fadec1174c 100644 --- a/lisp/ChangeLog.8 +++ b/lisp/ChangeLog.8 @@ -4926,7 +4926,7 @@ * language/ethio-util.el (setup-ethiopic-environment-internal): Use quail-activate-hook instead of obsolete hook quail-mode-hook. - (exit-ethiopic-environment): Likewize. + (exit-ethiopic-environment): Likewise. 1999-06-12 Richard M. Stallman diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9 index 135eb8edbb..6250bd0917 100644 --- a/lisp/ChangeLog.9 +++ b/lisp/ChangeLog.9 @@ -16606,7 +16606,7 @@ 0. Give correct argument to set-auto-coding-function. (tar-expunge): For goto-char, use (point-min), not 0. (tar-clear-modification-flags): For goto-char, use (point-min), not 1. - (tar-subfile-save-buffer): Likewize. + (tar-subfile-save-buffer): Likewise. * international/mule.el (after-insert-file-set-buffer-file-coding-system): Call @@ -16910,7 +16910,7 @@ (ccl-decode-viscii): Use translate-character. (ccl-encode-viscii, ccl-encode-viscii-font) (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font): - Likewize. + Likewise. * language/cyrillic.el: Remove eval-when-compile. (cyrillic-koi8-r-nonascii-translation-table): Define it as a @@ -16918,14 +16918,14 @@ (cyrillic-koi8-r-encode-table): Define it as a translation table made from the reverse map of above. (ccl-decode-koi8): Use translate-character. - (ccl-encode-koi8, ccl-encode-koi8-font): Likewize + (ccl-encode-koi8, ccl-encode-koi8-font): Likewise. (cyrillic-alternativnyj-nonascii-translation-table): Define it as a translation table made from cyrillic-alternativnyj-decode-table. (cyrillic-alternativnyj-encode-table): Define it as a translation table made from the reverse map of above. (ccl-decode-alternativnyj): Use translate-character. (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font): - Likewize + Likewise. * international/mule-diag.el (non-iso-charset-alist): Specify translation table symbol instead of translation table itself. @@ -18071,8 +18071,8 @@ * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg list in doc string. Don't quote keyword symbols. - * emacs-lisp/cl.el: Likewise - * emacs-lisp/cl-seq.el: Likewise + * emacs-lisp/cl.el: Likewise. + * emacs-lisp/cl-seq.el: Likewise. 2000-05-05 Gerd Moellmann diff --git a/lisp/composite.el b/lisp/composite.el index 5b01718fc7..b5ef9b510c 100644 --- a/lisp/composite.el +++ b/lisp/composite.el @@ -210,7 +210,7 @@ of the text in the region. If it is a string, the elements are alternate characters. In this case, TAB element has a special meaning. If the first -characer is TAB, the glyphs are displayed with left padding space +character is TAB, the glyphs are displayed with left padding space so that no pixel overlaps with the previous column. If the last character is TAB, the glyphs are displayed with right padding space so that no pixel overlaps with the following column. diff --git a/lisp/gnus/ecomplete.el b/lisp/gnus/ecomplete.el index 7952c37f39..7aca7492a6 100644 --- a/lisp/gnus/ecomplete.el +++ b/lisp/gnus/ecomplete.el @@ -147,7 +147,7 @@ (save-restriction (narrow-to-region (point) (point-at-eol)) (while (not (eobp)) - ;; Put the 'region face on any charactes on this line that + ;; Put the 'region face on any characters on this line that ;; aren't already highlighted. (unless (get-text-property (point) 'face) (put-text-property (point) (1+ (point)) 'face 'highlight)) diff --git a/lisp/international/ccl.el b/lisp/international/ccl.el index 09510cd8b0..4dc54859ec 100644 --- a/lisp/international/ccl.el +++ b/lisp/international/ccl.el @@ -1437,7 +1437,7 @@ OPERATOR := ;; Normal arithmethic operators (same meaning as C code). + | - | * | / | % - ;; Bitwize operators (same meaning as C code) + ;; Bitwise operators (same meaning as C code) | & | `|' | ^ ;; Shifting operators (same meaning as C code) diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index ecb2088de8..1a5823826d 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -700,7 +700,7 @@ Internal use only. Should be called at startup time." ;; "HP-Hebrew8" [36] ;; HPHEBREW8 8-bit character set ;; "HP-Japanese15" [36] -;; HPJAPAN15 15-bit characer set, +;; HPJAPAN15 15-bit character set, ;; modified from industry defacto ;; standard Shift-JIS ;; "HP-Kana8" [36] diff --git a/src/ChangeLog b/src/ChangeLog index 9ce5007d3b..01ecd37eec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-10-12 Juanma Barranquero + + * ccl.c (Fccl_execute_on_string): Fix typo in docstring. + 2010-10-10 Jan Djärv * nsterm.m (Qleft): Declare. diff --git a/src/ChangeLog.7 b/src/ChangeLog.7 index 6cc3d0f9e3..a334b4806d 100644 --- a/src/ChangeLog.7 +++ b/src/ChangeLog.7 @@ -491,7 +491,7 @@ * xselect.c (selection_data_to_lisp_data): Set Vlast_coding_system_used. - (lisp_data_to_selection_data): Likewize. + (lisp_data_to_selection_data): Likesize. 1998-07-07 Richard Stallman @@ -502,7 +502,7 @@ * editfns.c (Fformat): Replace explicit numeric constants with proper macros. - * fns.c (concat): Likewize. + * fns.c (concat): Likewise. 1998-07-06 Kenichi Handa diff --git a/src/ccl.c b/src/ccl.c index c33df9e56d..ac1d7be621 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -450,7 +450,7 @@ extern int charset_unicode; Therefore, the instruction code range is 0..16384(0x3fff). */ -/* Read a multibyte characeter. +/* Read a multibyte character. A code point is stored into reg[rrr]. A charset ID is stored into reg[RRR]. */ @@ -2058,7 +2058,7 @@ If R0..R7 are nil, they are initialized to 0. If IC is nil, it is initialized to head of the CCL program. If optional 4th arg CONTINUE is non-nil, keep IC on read operation -when read buffer is exausted, else, IC is always set to the end of +when read buffer is exhausted, else, IC is always set to the end of CCL-PROGRAM on exit. It returns the contents of write buffer as a string, diff --git a/src/dispextern.h b/src/dispextern.h index 076d905585..ca91c5b681 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1873,7 +1873,7 @@ struct composition_it are not iterating over a composition now. */ int id; /* If non-negative, character that triggers the automatic - composition at `stop_pos', and this is an automatic compositoin. + composition at `stop_pos', and this is an automatic composition. If negative, this is a static composition. This is set to -2 temporarily if searching of composition reach a limit or a newline. */ diff --git a/src/font.h b/src/font.h index 952ea26949..96227ffe40 100644 --- a/src/font.h +++ b/src/font.h @@ -574,7 +574,7 @@ struct font_driver FONT-ENTITY and it must be opened to check it, return -1. */ int (*has_char) P_ ((Lisp_Object font, int c)); - /* Return a glyph code of FONT for characer C (Unicode code point). + /* Return a glyph code of FONT for character C (Unicode code point). If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ unsigned (*encode_char) P_ ((struct font *font, int c)); diff --git a/src/print.c b/src/print.c index ccbf8d8c0c..43f17a7c15 100644 --- a/src/print.c +++ b/src/print.c @@ -1450,7 +1450,7 @@ static void print_check_string_charset_prop (); #define PRINT_STRING_NON_CHARSET_FOUND 1 #define PRINT_STRING_UNSAFE_CHARSET_FOUND 2 -/* Bitwize or of the abobe macros. */ +/* Bitwise or of the above macros. */ static int print_check_string_result; static void diff --git a/src/regex.c b/src/regex.c index 85ff9b9960..7d12089fea 100644 --- a/src/regex.c +++ b/src/regex.c @@ -4145,7 +4145,7 @@ analyse_first (p, pend, fastmap, multibyte) && match_any_multibyte_characters == false) { /* Set fastmap[I] to 1 where I is a leading code of each - multibyte characer in the range table. */ + multibyte character in the range table. */ int c, count; unsigned char lc1, lc2; diff --git a/src/w32font.c b/src/w32font.c index e93dbca2dd..a07762e970 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -346,7 +346,7 @@ w32font_has_char (entity, c) } /* w32 implementation of encode_char for font backend. - Return a glyph code of FONT for characer C (Unicode code point). + Return a glyph code of FONT for character C (Unicode code point). If FONT doesn't have such a glyph, return FONT_INVALID_CODE. For speed, the gdi backend uses unicode (Emacs calls encode_char diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index cfdf629cee..9cd1ac6426 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -448,7 +448,7 @@ uniscribe_shape (lgstring) } /* Uniscribe implementation of encode_char for font backend. - Return a glyph code of FONT for characer C (Unicode code point). + Return a glyph code of FONT for character C (Unicode code point). If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ static unsigned uniscribe_encode_char (font, c)