Function: thai-compose-string
thai-compose-string is an autoloaded and byte-compiled function
defined in thai-util.el.gz.
Signature
(thai-compose-string STRING)
Documentation
Compose Thai characters in STRING and return the resulting string.
Probably introduced at or before Emacs version 20.4.
Source Code
;; Defined in /usr/src/emacs/lisp/language/thai-util.el.gz
;;;###autoload
(defun thai-compose-string (string)
"Compose Thai characters in STRING and return the resulting string."
(with-category-table thai-category-table
(let ((idx 0))
(while (setq idx (string-match thai-composition-pattern string idx))
(thai-compose-syllable idx (match-end 0) nil string)
(setq idx (match-end 0)))))
string)