changeset 21042:b6530c2add6a

(set-default-coding-systems): Set default-file-name-coding-system. Doc-string modified. (prefer-coding-system): Doc-string modified.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 01:36:35 +0000
parents a7526e76aac9
children 1ae9ab956d88
files lisp/international/mule-cmds.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Tue Mar 03 01:35:39 1998 +0000
+++ b/lisp/international/mule-cmds.el	Tue Mar 03 01:36:35 1998 +0000
@@ -185,24 +185,27 @@
 
 (defun set-default-coding-systems (coding-system)
   "Set default value of various coding systems to CODING-SYSTEM.
-This sets the follwing coding systems:
+This sets the following coding systems:
   o coding system of a newly created buffer
   o default coding system for subprocess I/O
 This also sets the following values:
+  o default value used as file-name-coding-system for converting file names.
   o default value for the command `set-terminal-coding-system'
   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)
   (setq default-terminal-coding-system coding-system)
   (setq default-keyboard-coding-system coding-system)
   (setq default-process-coding-system (cons coding-system coding-system)))
 
 (defun prefer-coding-system (coding-system)
   "Add CODING-SYSTEM at the front of the priority list for automatic detection.
-This also sets the follwing coding systems:
+This also sets the following coding systems:
   o coding system of a newly created buffer
   o default coding system for subprocess I/O
 This also sets the following values:
+  o default value used as file-name-coding-system for converting file names.
   o default value for the command `set-terminal-coding-system'
   o default value for the command `set-keyboard-coding-system'"
   (interactive "zPrefer coding system: ")