aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-03-03 01:36:35 +0000
committerKenichi Handa1998-03-03 01:36:35 +0000
commit387136f687517828383d90cb8365427c1525d4ab (patch)
tree4c2bc8c3e6c7f0eeaa9598b93a5b9331faf848fd
parent73ba53dc85bde59ad3682dc6af9b7ecf5f425576 (diff)
downloademacs-387136f687517828383d90cb8365427c1525d4ab.tar.gz
emacs-387136f687517828383d90cb8365427c1525d4ab.zip
(set-default-coding-systems): Set
default-file-name-coding-system. Doc-string modified. (prefer-coding-system): Doc-string modified.
-rw-r--r--lisp/international/mule-cmds.el7
1 files changed, 5 insertions, 2 deletions
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."
185 185
186(defun set-default-coding-systems (coding-system) 186(defun set-default-coding-systems (coding-system)
187 "Set default value of various coding systems to CODING-SYSTEM. 187 "Set default value of various coding systems to CODING-SYSTEM.
188This sets the follwing coding systems: 188This sets the following coding systems:
189 o coding system of a newly created buffer 189 o coding system of a newly created buffer
190 o default coding system for subprocess I/O 190 o default coding system for subprocess I/O
191This also sets the following values: 191This also sets the following values:
192 o default value used as file-name-coding-system for converting file names.
192 o default value for the command `set-terminal-coding-system' 193 o default value for the command `set-terminal-coding-system'
193 o default value for the command `set-keyboard-coding-system'" 194 o default value for the command `set-keyboard-coding-system'"
194 (check-coding-system coding-system) 195 (check-coding-system coding-system)
195 (setq-default buffer-file-coding-system coding-system) 196 (setq-default buffer-file-coding-system coding-system)
197 (setq default-file-name-coding-system coding-system)
196 (setq default-terminal-coding-system coding-system) 198 (setq default-terminal-coding-system coding-system)
197 (setq default-keyboard-coding-system coding-system) 199 (setq default-keyboard-coding-system coding-system)
198 (setq default-process-coding-system (cons coding-system coding-system))) 200 (setq default-process-coding-system (cons coding-system coding-system)))
199 201
200(defun prefer-coding-system (coding-system) 202(defun prefer-coding-system (coding-system)
201 "Add CODING-SYSTEM at the front of the priority list for automatic detection. 203 "Add CODING-SYSTEM at the front of the priority list for automatic detection.
202This also sets the follwing coding systems: 204This also sets the following coding systems:
203 o coding system of a newly created buffer 205 o coding system of a newly created buffer
204 o default coding system for subprocess I/O 206 o default coding system for subprocess I/O
205This also sets the following values: 207This also sets the following values:
208 o default value used as file-name-coding-system for converting file names.
206 o default value for the command `set-terminal-coding-system' 209 o default value for the command `set-terminal-coding-system'
207 o default value for the command `set-keyboard-coding-system'" 210 o default value for the command `set-keyboard-coding-system'"
208 (interactive "zPrefer coding system: ") 211 (interactive "zPrefer coding system: ")