summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/language/thai.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/language/thai.el b/lisp/language/thai.el
index 3f51272cc13..b8577a84b7c 100644
--- a/lisp/language/thai.el
+++ b/lisp/language/thai.el
@@ -57,7 +57,7 @@
;; Register a function to compose Thai characters.
-(let ((patterns '(("\\c0\\c4\\|\\c0\\(\\c2\\|\\c3\\)\\c4?"
+(let ((patterns '(("\\c0?\\(\\c2\\|\\c3\\|\\c4\\)+"
. thai-composition-function))))
(aset composition-function-table (make-char 'thai-tis620) patterns)
(dotimes (i (1+ (- #xe7f #xe00)))