]> git.eshelyaron.com Git - emacs.git/commitdiff
(cyrillic-encode-koi8-r-char): New funciton.
authorKenichi Handa <handa@m17n.org>
Sun, 2 Aug 1998 01:06:57 +0000 (01:06 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 2 Aug 1998 01:06:57 +0000 (01:06 +0000)
(cyrillic-encode-alternativnyj-char): New function.

lisp/language/cyril-util.el

index 418436f3ea84139eba2519d4c9dd90d5877ea7e9..8aa51a04c517ae1baec01cea69951eeeddfc9954 100644 (file)
                           "cyrillic-yawerty")
   (setq coding-category-raw-text 'cyrillic-alternativnyj))
 
+;;;###autoload
+(defun cyrillic-encode-koi8-r-char (char)
+  "Return KOI8-R external character code of CHAR if appropriate."
+  (aref (char-table-extra-slot cyrillic-koi8-r-nonascii-translation-table 0)
+       char))
+
+;;;###autoload
+(defun cyrillic-encode-alternativnyj-char (char)
+  "Return ALTERNATIVNYJ external character code of CHAR if appropriate."
+  (aref (char-table-extra-slot
+        cyrillic-alternativnyj-nonascii-translation-table 0)
+       char))
+
 \f
 ;; Display