Thursday, November 22, 2012

Fix auto-loading packages in Emacs 24

This post is to help you get your installed packages working automatically when Emacs 24 starts.  If you don't know much about packages in Emacs 24, Google for it.

I installed several packages and themes but found they don't work upon starting Emacs 24. If I load them manually, they function with out issue.  To fix it, I added


to the very top of my .emacs file and right after my elpa load path.

(add-to-list 'load-path "~/.emacs.d/elpa")  ;; add elpa load paths

With these in place, I managed to make all my installed themes and packages available to me right when Emacs starts. No more "can't find this file" errors.