# HG changeset patch # User Kenichi Handa # Date 1028010938 0 # Node ID d341cac00bafcd38e3c8244fbbcc5258cb88d954 # Parent 8f29b98466a85f1012f9aa3ec7847a7dddd7ca2c (in-is13194): Give correct `safe-chars' property. (devanagari): Define it as an alias of in-is13194. diff -r 8f29b98466a8 -r d341cac00baf lisp/language/indian.el --- a/lisp/language/indian.el Tue Jul 30 06:34:28 2002 +0000 +++ b/lisp/language/indian.el Tue Jul 30 06:35:38 2002 +0000 @@ -34,10 +34,17 @@ "8-bit encoding for ASCII (MSB=0) and IS13194-Devanagari (MSB=1)." '(ascii indian-is13194 nil nil nil ascii-eol) - '((safe-charsets ascii indian-is13194) + `((safe-chars . ,(let ((table (make-char-table 'safe-chars nil))) + (set-char-table-range table 'indian-is13194 t) + (dotimes (i 127) + (aset table i t) + (aset table (decode-char 'ucs (+ #x900 i)) t)) + table)) (post-read-conversion . in-is13194-post-read-conversion) (pre-write-conversion . in-is13194-pre-write-conversion))) +(define-coding-system-alias 'devanagari 'in-is13194) + (defvar indian-script-table '[ devanagari