From 58566dff596304043559d71348c93e46ba18b7a2 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 13 Dec 2002 04:45:43 +0000 Subject: [PATCH] (ccl-encode-koi8, ccl-encode-koi8-u) (ccl-encode-alternativnyj): Fix last change. --- lisp/language/cyrillic.el | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el index 47cf5349f22..b4135c68bfb 100644 --- a/lisp/language/cyrillic.el +++ b/lisp/language/cyrillic.el @@ -140,9 +140,10 @@ ((loop (read-multibyte-character r0 r1) (translate-character cyrillic-koi8-r-encode-table r0 r1) - (if (r0 != ,(charset-id 'eight-bit-graphic)) - (if (r0 != ,(charset-id 'eight-bit-control)) - (r1 = ??))) + (if (r0 != ,(charset-id 'ascii)) + (if (r0 != ,(charset-id 'eight-bit-graphic)) + (if (r0 != ,(charset-id 'eight-bit-control)) + (r1 = ??)))) (write-repeat r1)))) "CCL program to encode KOI8-R.") @@ -280,9 +281,10 @@ This works whether or not the table is Unicode-based or ((loop (read-multibyte-character r0 r1) (translate-character cyrillic-koi8-u-encode-table r0 r1) - (if (r0 != ,(charset-id 'eight-bit-graphic)) - (if (r0 != ,(charset-id 'eight-bit-control)) - (r1 = ??))) + (if (r0 != ,(charset-id 'ascii)) + (if (r0 != ,(charset-id 'eight-bit-graphic)) + (if (r0 != ,(charset-id 'eight-bit-control)) + (r1 = ??)))) (write-repeat r1)))) "CCL program to encode KOI8-U.") @@ -381,9 +383,10 @@ This works whether or not the table is Unicode-based or ((loop (read-multibyte-character r0 r1) (translate-character cyrillic-alternativnyj-encode-table r0 r1) - (if (r0 != ,(charset-id 'eight-bit-graphic)) - (if (r0 != ,(charset-id 'eight-bit-control)) - (r1 = ??))) + (if (r0 != ,(charset-id 'ascii)) + (if (r0 != ,(charset-id 'eight-bit-graphic)) + (if (r0 != ,(charset-id 'eight-bit-control)) + (r1 = ??)))) (write-repeat r1)))) "CCL program to encode Alternativnyj.") -- 2.39.5