]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-coding-system): For raw-text and emacs-mule, don't add
authorKenichi Handa <handa@m17n.org>
Mon, 26 Mar 2001 04:11:28 +0000 (04:11 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 26 Mar 2001 04:11:28 +0000 (04:11 +0000)
anymore text about what charsets they can encode.

lisp/international/mule-diag.el

index bbc818591a2b117f225a5e8738e5bb24c99806e7..51ac6f7907368bdf0c936b6a616faf308b6792a1 100644 (file)
@@ -729,9 +729,12 @@ which font is being used for displaying the character."
       (save-excursion
        (set-buffer standard-output)
        (let ((charsets (coding-system-get coding-system 'safe-charsets)))
-         (when charsets
+         (when (and (not (memq (coding-system-base coding-system)
+                               '(raw-text emacs-mule)))
+                    charsets)
            (if (eq charsets t)
-               (insert "This coding system can encode all charsets.\n")
+               (insert "This coding system can encode all charsets except for
+eight-bit-control and eight-bit-graphic.\n")
              (insert "This coding system encodes the following charsets:\n ")
              (while charsets
                (insert " " (symbol-name (car charsets)))