emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing exportet registry files


From: Juanma Barranquero
Subject: Re: Editing exportet registry files
Date: Sat, 2 Jul 2005 16:50:06 +0200

On 7/1/05, address@hidden <address@hidden> wrote:

> With the given information and the Emacs
> ducumentation I have now added the following lines to my .emacs file, which
> makes editing exportet registry files less painfull:
> 
> (setq file-coding-system-alist
>       (append '(("\\.reg\\'" . utf-16le-with-signature))
>               file-coding-system-alist))

FYI, re-reading the docs it seems the "right" way would be:

  (modify-coding-system-alist 'file "\\.reg\\'" 'utf-16le-with-signature)

which, according to "(emacs)Recognize Coding", is the recommended
method to modify the *-coding-system-alist variables.

-- 
                    /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]