]> git.eshelyaron.com Git - emacs.git/commitdiff
(select-safe-coding-system): If default-coding-system is no-conversion,
authorRichard M. Stallman <rms@gnu.org>
Fri, 14 Aug 1998 09:02:48 +0000 (09:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 14 Aug 1998 09:02:48 +0000 (09:02 +0000)
return that; it is always safe.

lisp/international/mule-cmds.el

index abda95f64dd22a459326d7507b6fefb68824d789..f075a5affbc449cad1ac56ca96c9a55736dddbbd 100644 (file)
@@ -378,6 +378,7 @@ and TO is ignored."
                     (find-charset-region from to)))
         (safe-coding-systems (find-coding-systems-for-charsets charsets)))
     (if (or (eq (car safe-coding-systems) 'undecided)
+           (eq default-coding-system 'no-conversion)
            (and default-coding-system
                 (memq (coding-system-base default-coding-system)
                       safe-coding-systems)))