(set-char-table-range
composition-function-table
'(#xD80 . #xDFF)
- (list (cons "[\xD80-\xDFF\x200C\x200D]+" 'font-shape-text)))
+ (list (vector "[\xD80-\xDFF\x200C\x200D]+" 0 'font-shape-gstring)))
;; arch-tag: 87b9ad3b-5090-422f-b942-eb85b9d52e7c
;; sinhala.el ends here
:charset-list '(iso-8859-11))
;; For automatic composition.
-(let ((chars "\e,TQTUVWXYZghijklmn\e(B"))
+(let ((chars "\e,TQTUVWXYZghijklmn\e(B")
+ (elt '(["[\e,T!\e(B-\e,TO\e(B].[\e,Thijkl\e(B]?\e,TS\e(B?" 1 thai-composition-function]
+ [nil 0 thai-composition-function])))
(dotimes (i (length chars))
- (aset composition-function-table (aref chars i)
- 'thai-composition-function)))
+ (aset composition-function-table (aref chars i) elt)))
+(aset composition-function-table ?\e,TS\e(B '(["[\e,T!\e(B-\e,TO\e(B]." 1 thai-composition-function]))
(provide 'thai)