]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove setting up of
authorKenichi Handa <handa@m17n.org>
Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)
describe-cyrillic-environment-map and
setup-cyrillic-environment-map.  Exclude them in args of calls to
set-language-info-alist.  Adjusted for the change of
make-coding-system.  Register coding-priority key in
language-info-alist.

lisp/language/cyrillic.el

index cad3a53f8e94a67ab619906feecc9f12087e8e41..70ec0e4ebced0dd0c4df0c443b7ddf83a4f17283 100644 (file)
 
 ;; Cyrillic (general)
 
-(define-prefix-command 'describe-cyrillic-environment-map)
-(define-key-after describe-language-environment-map [Cyrillic]
-  '("Cyrillic" . describe-cyrillic-environment-map)
-  t)
-
-(define-prefix-command 'setup-cyrillic-environment-map)
-(define-key-after setup-language-environment-map [Cyrillic]
-  '("Cyrillic" . setup-cyrillic-environment-map)
-  t)
-
 ;; ISO-8859-5 staff
 
 (make-coding-system
  'cyrillic-iso-8bit 2 ?5
  "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)"
- '((ascii t) (cyrillic-iso8859-5 t) nil nil
-   nil ascii-eol ascii-cntl nil nil nil nil)
- '(ascii cyrillic-iso8859-5))
+ '(ascii cyrillic-iso8859-5  nil nil
+   nil nil nil nil nil nil nil)
+ '((safe-charsets ascii cyrillic-iso8859-5)
+   (mime-charset . iso-8859-5)))
 
 (define-coding-system-alias 'iso-8859-5 'cyrillic-iso-8bit)
 
 (set-language-info-alist
- "Cyrillic-ISO" '((setup-function . (setup-cyrillic-iso-environment
-                                    . setup-cyrillic-environment-map))
-                 (charset . (cyrillic-iso8859-5))
-                 (coding-system . (cyrillic-iso-8bit))
+ "Cyrillic-ISO" '((setup-function . setup-cyrillic-iso-environment)
+                 (charset cyrillic-iso8859-5)
+                 (coding-system cyrillic-iso-8bit)
+                 (coding-priority cyrillic-iso-8bit)
                  (sample-text . "Russian (\e,L@caaZXY\e(B)       \e,L7T`PRabRcYbU\e(B!")
-                 (documentation . ("Support for Cyrillic ISO-8859-5."
                                  . describe-cyrillic-environment-map))))
+                 (documentation . "Support for Cyrillic ISO-8859-5."))
'("Cyrillic"))
 
 ;; KOI-8 staff
 
  ;; will have to forgive us.
  ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)"
  (cons ccl-decode-koi8 ccl-encode-koi8)
- '(ascii cyrillic-iso8859-5))
+ '((safe-charsets ascii cyrillic-iso8859-5)
+   (mime-charset . koi8-r)))
 
 (define-coding-system-alias 'koi8-r 'cyrillic-koi8)
 (define-coding-system-alias 'koi8 'cyrillic-koi8)
       (cons (cons "koi8" ccl-encode-koi8-font) font-ccl-encoder-alist))
 
 (set-language-info-alist
- "Cyrillic-KOI8" '((setup-function . (setup-cyrillic-koi8-environment
-                                     . setup-cyrillic-environment-map))
-                  (charset . (cyrillic-iso8859-5))
-                  (coding-system . (cyrillic-koi8))
+ "Cyrillic-KOI8" '((setup-function . setup-cyrillic-koi8-environment)
+                  (charset cyrillic-iso8859-5)
+                  (coding-system cyrillic-koi8)
+                  (coding-priority cyrillic-koi8)
                   (sample-text . "Russian (\e,L@caaZXY\e(B)      \e,L7T`PRabRcYbU\e(B!")
-                  (documentation . ("Support for Cyrillic KOI-8."
                                   . describe-cyrillic-environment-map))))
+                  (documentation . "Support for Cyrillic KOI-8."))
'("Cyrillic"))
 
 ;;; ALTERNATIVNYJ staff
 
  'cyrillic-alternativnyj 4 ?A
  "ALTERNATIVNYJ 8-bit encoding for Cyrillic"
  (cons ccl-decode-alternativnyj ccl-encode-alternativnyj)
- '(ascii cyrillic-iso8859-5))
+ '((safe-charsets ascii cyrillic-iso8859-5)))
 
 (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj)
 
            font-ccl-encoder-alist))
 
 (set-language-info-alist
- "Cyrillic-ALT" '((setup-function . (setup-cyrillic-alternativnyj-environment
-                                    . setup-cyrillic-environment-map))
-                 (charset . (cyrillic-iso8859-5))
-                 (coding-system . (cyrillic-alternativnyj))
+ "Cyrillic-ALT" '((setup-function . setup-cyrillic-alternativnyj-environment)
+                 (charset cyrillic-iso8859-5)
+                 (coding-system cyrillic-alternativnyj)
+                 (coding-priority cyrillic-alternativnyj)
                  (sample-text . "Russian (\e,L@caaZXY\e(B)       \e,L7T`PRabRcYbU\e(B!")
-                 (documentation . ("Support for Cyrillic ALTERNATIVNYJ."
                                  . describe-cyrillic-environment-map))))
+                 (documentation . "Support for Cyrillic ALTERNATIVNYJ."))
'("Cyrillic"))
 
 ;;; cyrillic.el ends here