changeset 89299:a89011cf0b79

Register lao-composition-function in composition-function-table for Lao vowels and tones. (lao): Don't use lao-post-read-conversion.
author Kenichi Handa <handa@m17n.org>
date Thu, 07 Nov 2002 06:31:13 +0000
parents e1d0641b8107
children 6a0cc62928b5
files lisp/language/lao.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/lao.el	Thu Nov 07 06:30:49 2002 +0000
+++ b/lisp/language/lao.el	Thu Nov 07 06:31:13 2002 +0000
@@ -42,11 +42,11 @@
 	 (features lao-util)
 	 (documentation . t)))
 
-;; Register a function to compose Lao characters.
-(set-char-table-range composition-function-table
-		      '(#x0F00 . #x0F7F) 
-		      '(("\\c0\\c9?\\(\\(\\c2\\|\\c3\\)\\c4?\\|\\c4\\)?"
-			 . lao-composition-function)))
+;; For automatic composition.
+(let ((chars "(1QTUVWXY[\hijklm(B"))
+  (dotimes (i (length chars))
+    (aset composition-function-table (aref chars i)
+	  'lao-composition-function)))
 
 (provide 'lao)