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 best solutions below
0
On
emacs -Q -l ~/.emacs.d/elpa/org-bleedingedge/org-autoloads.el
should do it. Of course, if that "org" package requires others, it won't magically handle those dependencies.
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.