changeset 19141:9e0468e59b5f

(set-default-coding-systems): New function.
author Kenichi Handa <handa@m17n.org>
date Mon, 04 Aug 1997 07:03:08 +0000
parents a86f1b81dcf5
children fffebc19fe53
files lisp/international/mule-cmds.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Mon Aug 04 07:01:31 1997 +0000
+++ b/lisp/international/mule-cmds.el	Mon Aug 04 07:03:08 1997 +0000
@@ -176,6 +176,14 @@
       (message "")
       (call-interactively cmd))))
 
+(defun set-default-coding-systems (coding-system)
+  "Set default value of various coding systems to CODING-SYSTEM."
+  (check-coding-system coding-system)
+  (setq-default buffer-file-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)))
+
 
 ;;; Language support staffs.