]> git.eshelyaron.com Git - emacs.git/commitdiff
Add Unicode equivalents.
authorDave Love <fx@gnu.org>
Thu, 22 Nov 2001 10:47:35 +0000 (10:47 +0000)
committerDave Love <fx@gnu.org>
Thu, 22 Nov 2001 10:47:35 +0000 (10:47 +0000)
lisp/language/thai.el

index 7a1805fa81b3028ef717f2e95edb3c48d1ff154b..72ac1df7c8a0c93382fa1b838e9515279b061fcd 100644 (file)
@@ -1,9 +1,10 @@
-;;; thai.el --- Support for Thai -*- coding: iso-2022-7bit; -*-
+;;; thai.el --- support for Thai -*- coding: iso-2022-7bit; -*-
 
 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
 ;; Licensed to the Free Software Foundation.
+;; Copyright (C) 2001  Free Software Foundation, Inc.
 
-;; Keywords: multilingual, Thai
+;; Keywords: multilingual, Thai, i18n
 
 ;; This file is part of GNU Emacs.
 
 
 
 ;; Register a function to compose Thai characters.
-(aset composition-function-table (make-char 'thai-tis620)
-      '(("\\c0\\c4\\|\\c0\\(\\c2\\|\\c3\\)\\c4?" . thai-composition-function)))
+(let ((patterns '(("\\c0\\c4\\|\\c0\\(\\c2\\|\\c3\\)\\c4?"
+                  . thai-composition-function))))
+  (aset composition-function-table (make-char 'thai-tis620) patterns)
+  (dotimes (i (1+ (- #xe7f #xe00)))
+    (aset composition-function-table (decode-char 'ucs (+ i #xe00)) patterns)))
 
 (provide 'thai)