Mercurial > emacs
changeset 93706:65359653cb2d
(Init File): Byte-compiling .emacs is bad.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 05 Apr 2008 18:39:21 +0000 |
parents | 442e2ad714cd |
children | d9fb7e6ad14e |
files | doc/emacs/custom.texi |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/custom.texi Sat Apr 05 18:01:52 2008 +0000 +++ b/doc/emacs/custom.texi Sat Apr 05 18:39:21 2008 +0000 @@ -2085,10 +2085,14 @@ Emacs installation directory, typically @file{/usr/local/share/emacs/site-lisp}. - If you have a large amount of code in your @file{.emacs} file, you -should rename it to @file{~/.emacs.el}, and byte-compile it. @xref{Byte -Compilation,, Byte Compilation, elisp, the Emacs Lisp Reference Manual}, -for more information about compiling Emacs Lisp programs. + Byte-compiling your @file{.emacs} is not recommended (@pxref{Byte +Compilation,, Byte Compilation, elisp, the Emacs Lisp Reference +Manual}). It generally does not speed up startup very much, and often +leads to problems when you forget to recompile the file. A better +solution is to use the Emacs server to reduce the number of times you +have to start Emacs (@pxref{Emacs Server}). If your @file{.emacs} +defines many functions, consider moving them to a separate +(byte-compiled) file which you load in your @file{.emacs}. If you are going to write actual Emacs Lisp programs that go beyond minor customization, you should read the @cite{Emacs Lisp Reference Manual}.