aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-08-29 07:59:57 +0000
committerKenichi Handa2008-08-29 07:59:57 +0000
commit4699a15aedf6ee20abee438c84fcabe874a79aa7 (patch)
tree079f2b3778b58a5659e8a0d7cdff2ecd5549171c
parent39a7775db4c03021630940758e8ece6d85d92c94 (diff)
downloademacs-4699a15aedf6ee20abee438c84fcabe874a79aa7.tar.gz
emacs-4699a15aedf6ee20abee438c84fcabe874a79aa7.zip
Fix setting up of composition-function-table.
-rw-r--r--lisp/language/sinhala.el2
-rw-r--r--lisp/language/thai.el8
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/language/sinhala.el b/lisp/language/sinhala.el
index d3e75af965f..b488ee5488f 100644
--- a/lisp/language/sinhala.el
+++ b/lisp/language/sinhala.el
@@ -33,7 +33,7 @@
33(set-char-table-range 33(set-char-table-range
34 composition-function-table 34 composition-function-table
35 '(#xD80 . #xDFF) 35 '(#xD80 . #xDFF)
36 (list (cons "[\xD80-\xDFF\x200C\x200D]+" 'font-shape-text))) 36 (list (vector "[\xD80-\xDFF\x200C\x200D]+" 0 'font-shape-gstring)))
37 37
38;; arch-tag: 87b9ad3b-5090-422f-b942-eb85b9d52e7c 38;; arch-tag: 87b9ad3b-5090-422f-b942-eb85b9d52e7c
39;; sinhala.el ends here 39;; sinhala.el ends here
diff --git a/lisp/language/thai.el b/lisp/language/thai.el
index 311e3675779..2eb83f32fa6 100644
--- a/lisp/language/thai.el
+++ b/lisp/language/thai.el
@@ -76,10 +76,12 @@ This is the same as `thai-tis620' with the addition of no-break-space."
76 :charset-list '(iso-8859-11)) 76 :charset-list '(iso-8859-11))
77 77
78;; For automatic composition. 78;; For automatic composition.
79(let ((chars ",TQTUVWXYZghijklmn(B")) 79(let ((chars ",TQTUVWXYZghijklmn(B")
80 (elt '(["[,T!(B-,TO(B].[,Thijkl(B]?,TS(B?" 1 thai-composition-function]
81 [nil 0 thai-composition-function])))
80 (dotimes (i (length chars)) 82 (dotimes (i (length chars))
81 (aset composition-function-table (aref chars i) 83 (aset composition-function-table (aref chars i) elt)))
82 'thai-composition-function))) 84(aset composition-function-table ?,TS(B '(["[,T!(B-,TO(B]." 1 thai-composition-function]))
83 85
84(provide 'thai) 86(provide 'thai)
85 87