From: Kenichi Handa Date: Tue, 3 Mar 1998 01:36:35 +0000 (+0000) Subject: (set-default-coding-systems): Set X-Git-Tag: emacs-20.3~2032 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=387136f687517828383d90cb8365427c1525d4ab;p=emacs.git (set-default-coding-systems): Set default-file-name-coding-system. Doc-string modified. (prefer-coding-system): Doc-string modified. --- diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 2d56523f705..1b6b8fc5072 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -185,24 +185,27 @@ wrong, use this command again to toggle back to the right mode." (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: ")