changeset 22899:5f874a55feb3

(set-default-coding-systems): In --unibyte mode, don't set default-file-name-coding-system.
author Richard M. Stallman <rms@gnu.org>
date Tue, 04 Aug 1998 09:18:36 +0000
parents 138b588a013c
children 00d2d08d657b
files lisp/international/mule-cmds.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Tue Aug 04 05:36:07 1998 +0000
+++ b/lisp/international/mule-cmds.el	Tue Aug 04 09:18:36 1998 +0000
@@ -204,7 +204,8 @@
   o default value for the command `set-keyboard-coding-system'"
   (check-coding-system coding-system)
   (setq-default buffer-file-coding-system coding-system)
-  (setq default-file-name-coding-system coding-system)
+  (if default-enable-multibyte-characters
+      (setq default-file-name-coding-system coding-system))
   (setq default-terminal-coding-system coding-system)
   (setq default-keyboard-coding-system coding-system)
   (setq default-process-coding-system (cons coding-system coding-system)))