aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2004-09-08 07:18:13 +0000
committerKenichi Handa2004-09-08 07:18:13 +0000
commit59a2dac080b1c1bbd3f55f3b2095344c2f5f82fb (patch)
treeedb9db493a62a0d558b7049890f2c48e1695bb33
parenta020987fb78247c6454e8b5a483907bdbf71c70b (diff)
downloademacs-59a2dac080b1c1bbd3f55f3b2095344c2f5f82fb.tar.gz
emacs-59a2dac080b1c1bbd3f55f3b2095344c2f5f82fb.zip
(encode-composition-rule): Add autoload cooky.
-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):
77 +----+-----+ <--- new descent 77 +----+-----+ <--- new descent
78") 78")
79 79
80;; Encode composition rule RULE into an integer value. RULE is a cons
81;; of global and new reference point symbols.
82;; This must be compatible with C macro COMPOSITION_ENCODE_RULE
83;; defined in composite.h.
84 80
81;;;###autoload
85(defun encode-composition-rule (rule) 82(defun encode-composition-rule (rule)
83 "Encode composition rule RULE into an integer value.
84RULE is a cons of global and new reference point symbols
85\(see reference-point-alist)."
86
87 ;; This must be compatible with C macro COMPOSITION_ENCODE_RULE
88 ;; defined in composite.h.
89
86 (if (and (integerp rule) (< rule 144)) 90 (if (and (integerp rule) (< rule 144))
87 ;; Already encoded. 91 ;; Already encoded.
88 rule 92 rule