I want to start Emacs from a clean state and activate only one package in ~/.emacs.d/elpa/, not all of them. Specifically, I need to load a bleeding-edge version of Org-mode, while clean Emacs loads the built-in version. How do I do that?
Activate a single ELPA package out of many
109 views Asked by Mirzhan Irkegulov At
3
There are 3 answers
0
On
You might find that How to start up emacs with different configurations covers this. Create a new Emacs sandbox, install any packages you need, and you can run it side-by-side with your normal configuration.
To run Emacs from a clean state, provide a
-Qoption:Then run command
eval-expression, usually M-:, and enter the following Lisp expression:package-load-listvariable holds packages that will load and activate whenpackage-initializeis called. It's a list of pairs in the form of(PACKAGE VERSION). You can puttinstead ofVERSION, and the newest version will be loaded.