]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode-composition-rule): Fix typo in error message.
authorGlenn Morris <rgm@gnu.org>
Thu, 21 Feb 2008 07:53:55 +0000 (07:53 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 21 Feb 2008 07:53:55 +0000 (07:53 +0000)
(composition-function-table, auto-composition-mode): Doc fixes.

lisp/ChangeLog
lisp/composite.el

index ed00b6e2d1e99ed3b193c6ee094469422a0180cf..6c2a4ea2471391ebbb2743051c3cb7ef929eea95 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-21  Glenn Morris  <rgm@gnu.org>
+
+       * composite.el (encode-composition-rule): Fix typo in error message.
+       (composition-function-table, auto-composition-mode): Doc fixes.
+
 2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
 
        * composite.el (compose-chars-after): Fix arguments for a function
index 0bcc9e304942f93d4462cb50535bf9a19087af89..3028b0e8c6b62fca93cdbcbba981b9d0a7b71234 100644 (file)
@@ -106,7 +106,7 @@ RULE is a cons of global and new reference point symbols
                      nref (car nref))
                (or (and (>= xoff -100) (<= xoff 100)
                         (>= yoff -100) (<= yoff 100))
-                   (error "Invalid compostion rule: %s" rule))
+                   (error "Invalid composition rule: %s" rule))
                (setq xoff (+ xoff 128) yoff (+ yoff 128)))
            ;; (GREF . NREF)
            (setq xoff 0 yoff 0))
@@ -404,12 +404,12 @@ Each function is called with 4 arguments, FROM, TO, FONT-OBJECT,
 and STRING.
 
 If STRING is nil, FROM and TO are positions specifying the region
-maching with PATTERN in the current buffer, and the function has
+matching with PATTERN in the current buffer, and the function has
 to compose character in that region (possibly with characters
 preceding FROM).  FONT-OBJECT may be nil if not
 available (e.g. for the case of terminal).  The return value of
 the function is the end position where characters are composed,
-or nil if no compostion is made.
+or nil if no composition is made.
 
 Otherwise, STRING is a string, and FROM and TO are indices into
 the string.  In this case, the function has to compose a
@@ -541,15 +541,15 @@ This function is the default value of `auto-composition-function' (which see)."
 
 ;;;###autoload
 (define-minor-mode auto-composition-mode
-  "Toggle Auto Compostion mode.
-With arg, turn Auto Compostion mode off if and only if arg is a non-positive
-number; if arg is nil, toggle Auto Compostion mode; anything else turns Auto
-Compostion on.
+  "Toggle Auto Composition mode.
+With ARG, turn Auto Composition mode off if and only if ARG is a non-positive
+number; if ARG is nil, toggle Auto Composition mode; anything else turns Auto
+Composition on.
 
 When Auto Composition is enabled, text characters are automatically composed
 by functions registered in `composition-function-table' (which see).
 
-You can use Global Auto Composition mode to automagically turn on
+You can use `global-auto-composition-mode' to turn on
 Auto Composition mode in all buffers (this is the default)."
   nil nil nil
   (if noninteractive