]> git.eshelyaron.com Git - emacs.git/commitdiff
(make-coding-system): If ISO2022 based
authorKenichi Handa <handa@m17n.org>
Thu, 21 May 1998 01:46:39 +0000 (01:46 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 21 May 1998 01:46:39 +0000 (01:46 +0000)
8-bit coding system allows alternative designation, set the coding
category to `coding-category-iso-8-else'.

lisp/international/mule.el

index 9929ddbcac9f60abe1546ca3060415d5ba539692..76792e6197d0fdb3528345d33d75d53295de61ab 100644 (file)
@@ -584,7 +584,8 @@ a value of `safe-charsets' in PLIST."
                           (if no-alternative-designation
                               'coding-category-iso-7-tight
                             'coding-category-iso-7))
-                      (if no-initial-designation
+                      (if (or no-initial-designation
+                              (not no-alternative-designation))
                           'coding-category-iso-8-else
                         (if (and (charsetp g1-designation)
                                  (= (charset-dimension g1-designation) 2))