changeset 23021:2a8dbf5b77a8

(select-safe-coding-system): If default-coding-system is no-conversion, return that; it is always safe.
author Richard M. Stallman <rms@gnu.org>
date Fri, 14 Aug 1998 09:02:48 +0000
parents d4ab4affb26d
children 2dc474eaa693
files lisp/international/mule-cmds.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Fri Aug 14 08:58:00 1998 +0000
+++ b/lisp/international/mule-cmds.el	Fri Aug 14 09:02:48 1998 +0000
@@ -378,6 +378,7 @@
 		     (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)))