From 716184d4556dddd41578dfb6356851c3a0d678ab Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 4 Aug 1998 09:18:36 +0000 Subject: [PATCH] (set-default-coding-systems): In --unibyte mode, don't set default-file-name-coding-system. --- lisp/international/mule-cmds.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 4b041e75d5a..bfa6f3b0fe7 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -204,7 +204,8 @@ This also sets the following values: 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))) -- 2.39.2