diff lisp/language/thai.el @ 20108:00b744016673

Use coding-system-put to set coding system properties, post-read-conversion and pre-write-conversion.
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Oct 1997 10:45:26 +0000
parents b6badf3614ea
children c8c4c714710b
line wrap: on
line diff
--- a/lisp/language/thai.el	Tue Oct 21 10:45:26 1997 +0000
+++ b/lisp/language/thai.el	Tue Oct 21 10:45:26 1997 +0000
@@ -33,8 +33,10 @@
  "8-bit encoding for ASCII (MSB=0) and Thai TIS620 (MSB=1)"
  '((ascii t) (thai-tis620 t) nil nil
    nil ascii-eol))
-(put 'thai-tis620 'post-read-conversion 'thai-post-read-conversion)
-(put 'thai-tis620 'pre-write-conversion 'thai-pre-write-conversion)
+(coding-system-put 'thai-tis620 'post-read-conversion
+		   'thai-post-read-conversion)
+(coding-system-put 'thai-tis620 'pre-write-conversion
+		   'thai-pre-write-conversion)
 
 (define-coding-system-alias 'th-tis620 'thai-tis620)
 (define-coding-system-alias 'tis620 'thai-tis620)