Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speed up loading emacs by compiling packages

Tags:

emacs

elisp

With packages loading such as orgmode, nxhtml, yasnippet, I see that the loading of emacs slowed down pretty much.

I expect I can speed it up with the compilation of the packages.

  • I can I do that with emacs?
  • Normally, how much speed up can I expect?
like image 609
prosseek Avatar asked Dec 03 '22 11:12

prosseek


1 Answers

Yes, you can do it: M-x byte-compile-file on each .el that you want to compile. It won't speed things up as much, though, as will using "autoload" and "eval-when-require".

like image 103
offby1 Avatar answered Dec 20 '22 09:12

offby1