[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: language environment depending on file
From: |
Oliver Scholz |
Subject: |
Re: language environment depending on file |
Date: |
Fri, 15 Oct 2004 14:38:22 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) |
Joakim Hove <hove@ift.uib.no> writes:
> slanning@theworld.com writes:
>
>
>>
>> (add-hook 'mmm-mode-hook
>> '(lambda ()
>> (make-variable-buffer-local 'current-language-environment)
>> (set-language-environment "UTF-8")))
[...]
> Anyway, you *might* try to advice the set-buffer or switch-to-buffer
> functions with something like:
[...]
I might be wrong, but there seems to be some confusion here. I believe
what the OP really wants is not change the language environment, but
simply the character encoding for .mc files:
(modify-coding-system-alist 'file "\\.mc\\'" 'utf-8)
Oliver
--
24 Vendémiaire an 213 de la Révolution
Liberté, Egalité, Fraternité!