diff lisp/international/mule-cmds.el @ 19141:9e0468e59b5f

(set-default-coding-systems): New function.
author Kenichi Handa <handa@m17n.org>
date Mon, 04 Aug 1997 07:03:08 +0000
parents 8fdb29b769ed
children 6e152439176f
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.