mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
(encode-composition-rule): Add autoload cooky.
This commit is contained in:
parent
a020987fb7
commit
59a2dac080
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user