Mercurial > emacs
changeset 46743:d341cac00baf
(in-is13194): Give correct `safe-chars' property.
(devanagari): Define it as an alias of in-is13194.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 30 Jul 2002 06:35:38 +0000 |
parents | 8f29b98466a8 |
children | 47ab2350b58d |
files | lisp/language/indian.el |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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