aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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