summaryrefslogtreecommitdiff
path: root/lisp/language/devanagari.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-06-10 01:08:21 +0000
committerKenichi Handa <handa@m17n.org>1997-06-10 01:08:21 +0000
commit4b9121fc866aa8820d8844079e4fef3f5200b430 (patch)
tree6e2f3c0303fb6f2d20415fb04a46f20f0d9b2aa5 /lisp/language/devanagari.el
parentc47cd165b03a307f85d288ad685a0640c791e342 (diff)
downloademacs-4b9121fc866aa8820d8844079e4fef3f5200b430.tar.gz
Adjusted for coding system name change.
Diffstat (limited to 'lisp/language/devanagari.el')
-rw-r--r--lisp/language/devanagari.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/language/devanagari.el b/lisp/language/devanagari.el
index f6381f71201..72e2c703144 100644
--- a/lisp/language/devanagari.el
+++ b/lisp/language/devanagari.el
@@ -31,14 +31,16 @@
;;; Code:
(make-coding-system
- 'in-is13194-devanagari 2 ?D
- "Coding-system used for ASCII(MSB=0) & IS13194-Devanagari(MSB=1)."
+ 'devanagari 2 ?D
+ "8-bit encoding for ASCII (MSB=0) and IS13194-Devanagari (MSB=1)"
'((ascii t) (indian-is13194 t) nil nil
nil ascii-eol))
-devanagari-compose-from-is13194-region
-(put 'in-is13194-devanagari
+
+(define-coding-system-alias 'devanagari 'in-is13194-devanagari)
+
+(put 'devanagari
'post-read-conversion 'in-is13194-devanagari-post-read-conversion)
-(put 'in-is13194-devanagari
+(put 'devanagari
'pre-write-conversion 'in-is13194-devanagari-pre-write-conversion)
(register-input-method
@@ -61,7 +63,7 @@ devanagari-compose-from-is13194-region
"Devanagari" '((setup-function . (setup-devanagari-environment
. setup-indian-environment-map))
(charset . (indian-is13194 indian-2-column indian-1-column))
- (coding-system . (in-is13194-devanagari))
+ (coding-system . (devanagari))
(documentation . ("\
Such languages using Devanagari script as Hindi and Marathi
are supported in this language environment."