diff options
| author | Glenn Morris | 2008-02-21 07:53:55 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-21 07:53:55 +0000 |
| commit | ad1b4641e242553b317ac7948b90e404f434e4cf (patch) | |
| tree | 47bea83fa0a5e4449d5271acd658466f9c2c7c8d | |
| parent | eeee3ae10553ac0f95ea922a848529053517352f (diff) | |
| download | emacs-ad1b4641e242553b317ac7948b90e404f434e4cf.tar.gz emacs-ad1b4641e242553b317ac7948b90e404f434e4cf.zip | |
(encode-composition-rule): Fix typo in error message.
(composition-function-table, auto-composition-mode): Doc fixes.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/composite.el | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ed00b6e2d1e..6c2a4ea2471 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-02-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * composite.el (encode-composition-rule): Fix typo in error message. | ||
| 4 | (composition-function-table, auto-composition-mode): Doc fixes. | ||
| 5 | |||
| 1 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> | 6 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> |
| 2 | 7 | ||
| 3 | * composite.el (compose-chars-after): Fix arguments for a function | 8 | * composite.el (compose-chars-after): Fix arguments for a function |
diff --git a/lisp/composite.el b/lisp/composite.el index 0bcc9e30494..3028b0e8c6b 100644 --- a/lisp/composite.el +++ b/lisp/composite.el | |||
| @@ -106,7 +106,7 @@ RULE is a cons of global and new reference point symbols | |||
| 106 | nref (car nref)) | 106 | nref (car nref)) |
| 107 | (or (and (>= xoff -100) (<= xoff 100) | 107 | (or (and (>= xoff -100) (<= xoff 100) |
| 108 | (>= yoff -100) (<= yoff 100)) | 108 | (>= yoff -100) (<= yoff 100)) |
| 109 | (error "Invalid compostion rule: %s" rule)) | 109 | (error "Invalid composition rule: %s" rule)) |
| 110 | (setq xoff (+ xoff 128) yoff (+ yoff 128))) | 110 | (setq xoff (+ xoff 128) yoff (+ yoff 128))) |
| 111 | ;; (GREF . NREF) | 111 | ;; (GREF . NREF) |
| 112 | (setq xoff 0 yoff 0)) | 112 | (setq xoff 0 yoff 0)) |
| @@ -404,12 +404,12 @@ Each function is called with 4 arguments, FROM, TO, FONT-OBJECT, | |||
| 404 | and STRING. | 404 | and STRING. |
| 405 | 405 | ||
| 406 | If STRING is nil, FROM and TO are positions specifying the region | 406 | If STRING is nil, FROM and TO are positions specifying the region |
| 407 | maching with PATTERN in the current buffer, and the function has | 407 | matching with PATTERN in the current buffer, and the function has |
| 408 | to compose character in that region (possibly with characters | 408 | to compose character in that region (possibly with characters |
| 409 | preceding FROM). FONT-OBJECT may be nil if not | 409 | preceding FROM). FONT-OBJECT may be nil if not |
| 410 | available (e.g. for the case of terminal). The return value of | 410 | available (e.g. for the case of terminal). The return value of |
| 411 | the function is the end position where characters are composed, | 411 | the function is the end position where characters are composed, |
| 412 | or nil if no compostion is made. | 412 | or nil if no composition is made. |
| 413 | 413 | ||
| 414 | Otherwise, STRING is a string, and FROM and TO are indices into | 414 | Otherwise, STRING is a string, and FROM and TO are indices into |
| 415 | the string. In this case, the function has to compose a | 415 | 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)." | |||
| 541 | 541 | ||
| 542 | ;;;###autoload | 542 | ;;;###autoload |
| 543 | (define-minor-mode auto-composition-mode | 543 | (define-minor-mode auto-composition-mode |
| 544 | "Toggle Auto Compostion mode. | 544 | "Toggle Auto Composition mode. |
| 545 | With arg, turn Auto Compostion mode off if and only if arg is a non-positive | 545 | With ARG, turn Auto Composition mode off if and only if ARG is a non-positive |
| 546 | number; if arg is nil, toggle Auto Compostion mode; anything else turns Auto | 546 | number; if ARG is nil, toggle Auto Composition mode; anything else turns Auto |
| 547 | Compostion on. | 547 | Composition on. |
| 548 | 548 | ||
| 549 | When Auto Composition is enabled, text characters are automatically composed | 549 | When Auto Composition is enabled, text characters are automatically composed |
| 550 | by functions registered in `composition-function-table' (which see). | 550 | by functions registered in `composition-function-table' (which see). |
| 551 | 551 | ||
| 552 | You can use Global Auto Composition mode to automagically turn on | 552 | You can use `global-auto-composition-mode' to turn on |
| 553 | Auto Composition mode in all buffers (this is the default)." | 553 | Auto Composition mode in all buffers (this is the default)." |
| 554 | nil nil nil | 554 | nil nil nil |
| 555 | (if noninteractive | 555 | (if noninteractive |