]> git.eshelyaron.com Git - emacs.git/commitdiff
(select-safe-coding-system): If
authorKenichi Handa <handa@m17n.org>
Wed, 9 Oct 2002 06:13:57 +0000 (06:13 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 9 Oct 2002 06:13:57 +0000 (06:13 +0000)
:mime-charset property of a coding system is not equal to that
coding system, don't show that :mime-charset name.

lisp/international/mule-cmds.el

index 273c26a319a6fe6ce5efe69619ad5c505c2cc2f8..06c2d55784167c4040ed07b73dd692876040012d 100644 (file)
@@ -619,7 +619,8 @@ and TO is ignored."
            mime-charset)
        (while l
          (setq mime-charset (coding-system-get (car l) :mime-charset))
-         (if (and mime-charset (coding-system-p mime-charset))
+         (if (and mime-charset (coding-system-p mime-charset)
+                  (coding-system-equal (car l) mime-charset))
              (setcar l mime-charset))
          (setq l (cdr l))))