code point (register r0) only for charset mule-unicode-0100-24ff.
+2004-01-22 Kenichi Handa <handa@m17n.org>
+
+ * language/cyrillic.el (ccl-encode-windows-1251-font): Rearrange
+ code point (register r1) only for charset mule-unicode-0100-24ff.
+
2004-01-21 Markus Rost <rost@mathematik.uni-bielefeld.de>
* mail/rmail.el (rmail-convert-to-babyl-format): Avoid deleting
(push elt ctext-non-standard-encodings-alist)))
(define-ccl-program ccl-encode-windows-1251-font
- '(0
- ((r1 <<= 7)
- (r1 += r2)
- (translate-character encode-windows-1251 r0 r1)
- )))
+ `(0
+ ((if (r0 == ,(charset-id 'mule-unicode-0100-24ff))
+ ((r1 <<= 7)
+ (r1 += r2)))
+ (translate-character encode-windows-1251 r0 r1))))
(add-to-list 'font-ccl-encoder-alist
'("microsoft-cp1251" . ccl-encode-windows-1251-font))