Fix setting of composition-function-table.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 1 Jan 2009 07:47:55 +0000 (07:47 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 1 Jan 2009 07:47:55 +0000 (07:47 +0000)
lisp/language/cham.el
lisp/language/khmer.el

index 80e9224..5dbc0b6 100644 (file)
@@ -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)
index 77c9e00..0427eaa 100644 (file)
@@ -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))