Mercurial > emacs
changeset 92026:4ad14ee0d40a
(encode-composition-rule): Fix typo in error message.
(composition-function-table, auto-composition-mode): Doc fixes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 21 Feb 2008 07:53:37 +0000 |
parents | 038a958de82d |
children | 47cc4b041617 |
files | lisp/composite.el |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/composite.el Thu Feb 21 07:52:22 2008 +0000 +++ b/lisp/composite.el Thu Feb 21 07:53:37 2008 +0000 @@ -106,7 +106,7 @@ 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 @@ 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 @@ ;;;###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