Mercurial > hg > xemacs-beta
view nt/installer/Wise/el.reg @ 4641:a90b63846dc4
Set buffer-file-coding-system more sensibly with zero-length files.
lisp/ChangeLog addition:
2009-06-07 Aidan Kehoe <kehoea@parhasard.net>
* code-files.el (insert-file-contents):
Autodetection may return undecided as a coding system. If the file
was zero-length, this is kosher, and we should set
buffer-file-coding-system to its default; if it is not
zero-length, we still need to set b-f-c-s, but we warn that the
autodetection fails. (Ignoring that for the user, autodetection
failing is something very distinct from what we use it to mean
here.) See
http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and
the related thread.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 07 Jun 2009 16:47:04 +0100 |
parents | 74fd4e045ea6 |
children |
line wrap: on
line source
REGEDIT4 [HKEY_CLASSES_ROOT\.el] @="elfile" "Content Type"="text/plain" [HKEY_CLASSES_ROOT\elfile] @="Emacs lisp" "EditFlags"=hex:00,00,01,00 [HKEY_CLASSES_ROOT\elfile\Shell] @="" [HKEY_CLASSES_ROOT\elfile\Shell\open] [HKEY_CLASSES_ROOT\elfile\Shell\open\command] @="\"C:\\Program Files\\XEmacs\\XEmacs-21.0\\i386-pc-win32\\runemacs.exe\" \"%1\"" [HKEY_CLASSES_ROOT\elfile\Shell\open\ddeexec] @="open(\"%1\")" [HKEY_CLASSES_ROOT\elfile\Shell\open\ddeexec\Application] @="XEmacs" [HKEY_CLASSES_ROOT\elfile\Shell\open\ddeexec\topic] @="System" [HKEY_CLASSES_ROOT\elfile\DefaultIcon] @="C:\\Program Files\\XEmacs\\XEmacs-21.0\\i386-pc-win32\\runemacs.exe,2" [HKEY_CLASSES_ROOT\elfile\QuickView] @="*"