Commit f07ed73c authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix setting of composition-function-table.

parent eaf582ba
......@@ -29,7 +29,7 @@
(set-char-table-range composition-function-table
'(#xAA00 . #xAA5F)
'(("[\xAA00-\xAA5F]+" . font-shape-text)))
(list (vector "[\xAA00-\xAA5F]+" 0 'font-shape-gstring)))
(set-language-info-alist
"Cham" '((charset unicode)
......
......@@ -30,7 +30,8 @@
(sample-text . "Khmer (ភាសាខ្មែរ) ជំរាបសួរ")
(documentation . t)))
(let ((val '(("[\x1780-\x17FF\x19E0-\x19FF\x200C\x200D]+" . font-shape-text))))
(let ((val (list (vector "[\x1780-\x17FF\x19E0-\x19FF\x200C\x200D]+"
0 'font-shape-gstring))))
(set-char-table-range composition-function-table '(#x1780 . #x17FF) val)
(set-char-table-range composition-function-table '(#x19E0 . #x19FF) val))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment