At 06 Jun 2002 15:08:33 +0200,
Huba Zsolt <[EMAIL PROTECTED]> wrote:
> How can I set the default coding system? I can set it manually for a
> buffer at Edit/Mule/Set Coding System of Buffer File, but I would like
> to set the coding system globally to latin2.
Use this:
(when (featurep 'mule)
(set-language-environment "Latin-2")
(if (fboundp 'prefer-coding-system)
(prefer-coding-system 'iso-8859-2))
(set-default-coding-systems 'iso-8859-2)
(set-terminal-coding-system 'iso-8859-2))
I believe that the above configuration works on emacs20/emacs21/xemacs21.
--
Tatsuya Kinoshita
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]