aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-08-18 13:15:18 +0000
committerKenichi Handa1998-08-18 13:15:18 +0000
commit64e49fa8935aed03a1916f85666c80ad2608978c (patch)
treee0d826007cf33288d30c2c9c23ab807abcf4fb2f
parentc11b3a3f65c66040b39cb22f7985f062e3b94069 (diff)
downloademacs-64e49fa8935aed03a1916f85666c80ad2608978c.tar.gz
emacs-64e49fa8935aed03a1916f85666c80ad2608978c.zip
(cyrillic-koi8): Fix the value of
`valid-code' property. (cyrillic-alternativnyj): Likewise. (cyrillic-alternativnyj-encode-table): Fix the initial value.
-rw-r--r--lisp/language/cyrillic.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el
index cbc41f6b256..abb399e5a18 100644
--- a/lisp/language/cyrillic.el
+++ b/lisp/language/cyrillic.el
@@ -122,7 +122,7 @@
122 '(ccl-decode-koi8 . ccl-encode-koi8) 122 '(ccl-decode-koi8 . ccl-encode-koi8)
123 '((safe-charsets ascii cyrillic-iso8859-5) 123 '((safe-charsets ascii cyrillic-iso8859-5)
124 (mime-charset . koi8-r) 124 (mime-charset . koi8-r)
125 (valid-codes (0 127) 163 179 (192 255)))) 125 (valid-codes (0 . 127) 163 179 (192 . 255))))
126 126
127(define-coding-system-alias 'koi8-r 'cyrillic-koi8) 127(define-coding-system-alias 'koi8-r 'cyrillic-koi8)
128(define-coding-system-alias 'koi8 'cyrillic-koi8) 128(define-coding-system-alias 'koi8 'cyrillic-koi8)
@@ -186,7 +186,7 @@
186 (let* ((ch (aref cyrillic-alternativnyj-decode-table i)) 186 (let* ((ch (aref cyrillic-alternativnyj-decode-table i))
187 (split (split-char ch))) 187 (split (split-char ch)))
188 (if (eq (car split) 'cyrillic-iso8859-5) 188 (if (eq (car split) 'cyrillic-iso8859-5)
189 (aset table (nth 1 split) i) 189 (aset table (logior (nth 1 split) 128) i)
190 (if (/= ch 32) 190 (if (/= ch 32)
191 (aset table ch i)))) 191 (aset table ch i))))
192 (setq i (1+ i))) 192 (setq i (1+ i)))
@@ -218,7 +218,7 @@
218 "ALTERNATIVNYJ 8-bit encoding for Cyrillic" 218 "ALTERNATIVNYJ 8-bit encoding for Cyrillic"
219 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj) 219 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj)
220 '((safe-charsets ascii cyrillic-iso8859-5) 220 '((safe-charsets ascii cyrillic-iso8859-5)
221 (valid-codes (0 175) (224 241) 255))) 221 (valid-codes (0 . 175) (224 . 241) 255)))
222 222
223(define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj) 223(define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj)
224 224