Commit de94d711 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(set-default-coding-systems): New function.

parent 96cf572e
......@@ -176,6 +176,14 @@ With arg, make them enable iff arg is positive."
(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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment