aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-02-21 07:53:55 +0000
committerGlenn Morris2008-02-21 07:53:55 +0000
commitad1b4641e242553b317ac7948b90e404f434e4cf (patch)
tree47bea83fa0a5e4449d5271acd658466f9c2c7c8d
parenteeee3ae10553ac0f95ea922a848529053517352f (diff)
downloademacs-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/ChangeLog5
-rw-r--r--lisp/composite.el16
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 @@
12008-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
12008-02-21 Kenichi Handa <handa@ni.aist.go.jp> 62008-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,
404and STRING. 404and STRING.
405 405
406If STRING is nil, FROM and TO are positions specifying the region 406If STRING is nil, FROM and TO are positions specifying the region
407maching with PATTERN in the current buffer, and the function has 407matching with PATTERN in the current buffer, and the function has
408to compose character in that region (possibly with characters 408to compose character in that region (possibly with characters
409preceding FROM). FONT-OBJECT may be nil if not 409preceding FROM). FONT-OBJECT may be nil if not
410available (e.g. for the case of terminal). The return value of 410available (e.g. for the case of terminal). The return value of
411the function is the end position where characters are composed, 411the function is the end position where characters are composed,
412or nil if no compostion is made. 412or nil if no composition is made.
413 413
414Otherwise, STRING is a string, and FROM and TO are indices into 414Otherwise, STRING is a string, and FROM and TO are indices into
415the string. In this case, the function has to compose a 415the 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.
545With arg, turn Auto Compostion mode off if and only if arg is a non-positive 545With ARG, turn Auto Composition mode off if and only if ARG is a non-positive
546number; if arg is nil, toggle Auto Compostion mode; anything else turns Auto 546number; if ARG is nil, toggle Auto Composition mode; anything else turns Auto
547Compostion on. 547Composition on.
548 548
549When Auto Composition is enabled, text characters are automatically composed 549When Auto Composition is enabled, text characters are automatically composed
550by functions registered in `composition-function-table' (which see). 550by functions registered in `composition-function-table' (which see).
551 551
552You can use Global Auto Composition mode to automagically turn on 552You can use `global-auto-composition-mode' to turn on
553Auto Composition mode in all buffers (this is the default)." 553Auto Composition mode in all buffers (this is the default)."
554 nil nil nil 554 nil nil nil
555 (if noninteractive 555 (if noninteractive