diff options
| author | Kenichi Handa | 1998-02-04 11:25:01 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-02-04 11:25:01 +0000 |
| commit | 17bf0affd39dcb79e56f1bb7a45ef6e66b060e06 (patch) | |
| tree | 063a367800c621f6885502be4f2671749f04920b /lisp/language | |
| parent | a0eb76e1b1902f13ff4f759e173bc9e53db3bf15 (diff) | |
| download | emacs-17bf0affd39dcb79e56f1bb7a45ef6e66b060e06.tar.gz emacs-17bf0affd39dcb79e56f1bb7a45ef6e66b060e06.zip | |
Move codes which set syntax and category of
Indian characters to international/characters.el.
Diffstat (limited to 'lisp/language')
| -rw-r--r-- | lisp/language/indian.el | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lisp/language/indian.el b/lisp/language/indian.el index 9cce23166be..d54e832880e 100644 --- a/lisp/language/indian.el +++ b/lisp/language/indian.el | |||
| @@ -83,37 +83,6 @@ | |||
| 83 | ;; (char-to-string (indian-to-devanagari ?(5$(B)) | 83 | ;; (char-to-string (indian-to-devanagari ?(5$(B)) |
| 84 | ;; "$(5!$(B" | 84 | ;; "$(5!$(B" |
| 85 | 85 | ||
| 86 | (let ((deflist | ||
| 87 | '(;; chars syntax category | ||
| 88 | ("(5!"#(B" "w" ?7) ; vowel-modifying diacritical mark | ||
| 89 | ; chandrabindu, anuswar, visarga | ||
| 90 | ("(5$(B-(52(B" "w" ?1) ; base (independent) vowel | ||
| 91 | ("(53(B-(5X(B" "w" ?0) ; consonant | ||
| 92 | ("(5Z(B-(5g(B" "w" ?8) ; matra | ||
| 93 | ("(5q(B-(5z(B" "w" ?6) ; digit | ||
| 94 | )) | ||
| 95 | elm chars len syntax category to ch i) | ||
| 96 | (while deflist | ||
| 97 | (setq elm (car deflist)) | ||
| 98 | (setq chars (car elm) | ||
| 99 | len (length chars) | ||
| 100 | syntax (nth 1 elm) | ||
| 101 | category (nth 2 elm) | ||
| 102 | i 0) | ||
| 103 | (while (< i len) | ||
| 104 | (if (= (aref chars i) ?-) | ||
| 105 | (setq i (1+ i) | ||
| 106 | to (sref chars i)) | ||
| 107 | (setq ch (sref chars i) | ||
| 108 | to ch)) | ||
| 109 | (while (<= ch to) | ||
| 110 | (modify-syntax-entry ch syntax) | ||
| 111 | (modify-category-entry ch category) | ||
| 112 | (setq ch (1+ ch))) | ||
| 113 | (setq i (+ i (char-bytes to)))) | ||
| 114 | (setq deflist (cdr deflist)))) | ||
| 115 | |||
| 116 | |||
| 117 | ;;; ITRANS | 86 | ;;; ITRANS |
| 118 | ;; | 87 | ;; |
| 119 | ;; ITRANS is one of the most popular method to exchange indian scripts | 88 | ;; ITRANS is one of the most popular method to exchange indian scripts |