Re: setting the default coding system
At 06 Jun 2002 15:08:33 +0200,
Huba Zsolt <hubidubi@freemail.hu> 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 debian-emacsen-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: