Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I byte-compile everything in my .emacs.d directory?
    primarykey
    data
    text
    <p>I have decided to check out Emacs, and I liked it very much. Now, I'm using the <a href="http://github.com/technomancy/emacs-starter-kit/tree/master" rel="noreferrer">Emacs Starter Kit</a>, which sort of provides better defaults and some nice customizations to default install of Emacs.</p> <p>I have customized it a little, added some stuff like <a href="http://code.google.com/p/yasnippet/" rel="noreferrer">yasnippet</a>, <a href="http://www.nongnu.org/color-theme/" rel="noreferrer">color-themes</a>, <a href="http://www.emacswiki.org/emacs/unbound.el" rel="noreferrer">unbound</a>, and other stuff. I've set up a <a href="http://github.com/Irwin1138/emacs-starter-kit/tree/master" rel="noreferrer">github repository</a> where I keep all of the customizations so I can access them from multiple places or in case something goes bad and I lose my .emacs.d directory.</p> <p>All of this is very nice, but there is a problem: Emacs takes about 1-2 seconds to load. AFAIK I can compile individual .el files with M-x byte-compile-file to .elc, and it works. But there are a lot of .el files, and I wonder if there is a way to compile them all with a simple command or something, to speed up the loading of Emacs. My Emacs is not always open, and I open and close it quite frequently, especially after I've set it up as a default editor for edit command in Total Commander to get used to it faster (yeah, windows xp here).</p> <p>My Emacs version is 22.3. And yes, the default Emacs installation without any customizations fires up instantly.</p> <p>I am not sure which version is preferred when loading, the .el or compiled .elc one by the way O.o</p> <p>So, is there an elisp command or Emacs command line switch to make Emacs byte-compile everything in .emacs.d directory?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload