]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Wed, 21 Jun 2000 02:05:10 +0000 (02:05 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 21 Jun 2000 02:05:10 +0000 (02:05 +0000)
lisp/language/tibet-util.el

index efa07fa1fa653a05d43c320e81b8ada855f92fed..e09828b7cf658c15e3129205c1b573fb78194864 100644 (file)
@@ -50,7 +50,7 @@ Returns non-nil if CH is Tibetan. Otherwise, returns nil."
        (i 0)
        ch this-trans)
     (while (< i len)
-      (let ((idx (string-match tibetan-precomposition-rule-alist str i)))
+      (let ((idx (string-match tibetan-precomposition-rule-regexp str i)))
        (if (eq idx i)
            ;; Ith character and the followings matches precomposable
            ;; Tibetan sequence.
@@ -116,13 +116,13 @@ The returned string has no composition information."
 ;;; (Sanskrit visarga, though it is a vowel modifier, is considered
 ;;;  to be a punctuation.)
 ;;;
-;;; Here are examples of the words "bsgrubs" and "h'uM"
+;;; Here are examples of the words "bsgrubs" and "hfauM"
 ;;;
-;;;            \e4\e$(7"7\e0"7\e1\e4%qx!"U\e0"G###C"U\e1\e4"7\e0"7\e1\e4"G\e0"G\e1\e(B         \e4\e$(7"Hx!"Rx!"Ur'"_\e0"H"A"U"_\e1\e(B
+;;;            \e4\e$(7"7\e0"7\e1\e4%qx!"U\e0"G###C"U\e1\e4"7\e0"7\e1\e4"G\e0"G\e1\e(B            \e4\e$(7"Hx!"Rx!"Ur'"_\e0"H"R"U"_\e1\e(B
 ;;;
 ;;;                             M
 ;;;             b s b s         h
-;;;               g             '
+;;;               g             fa
 ;;;               r             u
 ;;;               u
 ;;;
@@ -153,8 +153,9 @@ The returned string has no composition information."
     ;; Added by Tomabechi 2000/06/08
     (if (memq char '(?\e$(7"T\e(B ?\e$(7"V\e(B ?\e$(7"W\e(B ?\e$(7"X\e(B ?\e$(7"Y\e(B ?\e$(7"Z\e(B ?\e$(7"b\e(B))
        (setq comp-vowel
-             (cddr (assoc (char-to-string char)
-                          tibetan-composite-vowel-alist))
+             (copy-sequence
+              (cddr (assoc (char-to-string char)
+                           tibetan-composite-vowel-alist)))
              char
              (cadr (assoc (char-to-string char)
                           tibetan-composite-vowel-alist))))