On 7/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel