summaryrefslogtreecommitdiff
path: root/lisp/composite.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-09-08 07:18:13 +0000
committerKenichi Handa <handa@m17n.org>2004-09-08 07:18:13 +0000
commit59a2dac080b1c1bbd3f55f3b2095344c2f5f82fb (patch)
treeedb9db493a62a0d558b7049890f2c48e1695bb33 /lisp/composite.el
parenta020987fb78247c6454e8b5a483907bdbf71c70b (diff)
downloademacs-59a2dac080b1c1bbd3f55f3b2095344c2f5f82fb.tar.gz
(encode-composition-rule): Add autoload cooky.
Diffstat (limited to 'lisp/composite.el')
-rw-r--r--lisp/composite.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/composite.el b/lisp/composite.el
index 8361e2ad9e3..4f9faf2ccfa 100644
--- a/lisp/composite.el
+++ b/lisp/composite.el
@@ -77,12 +77,16 @@ follows (the point `*' corresponds to both reference points):
+----+-----+ <--- new descent
")
-;; Encode composition rule RULE into an integer value. RULE is a cons
-;; of global and new reference point symbols.
-;; This must be compatible with C macro COMPOSITION_ENCODE_RULE
-;; defined in composite.h.
+;;;###autoload
(defun encode-composition-rule (rule)
+ "Encode composition rule RULE into an integer value.
+RULE is a cons of global and new reference point symbols
+\(see reference-point-alist)."
+
+ ;; This must be compatible with C macro COMPOSITION_ENCODE_RULE
+ ;; defined in composite.h.
+
(if (and (integerp rule) (< rule 144))
;; Already encoded.
rule