4 ms·
>> Current best practise is to put all the packages you need in your init.el file, then when you start Emacs, it'll download and install any packages you're mis
by ludwigvan 15y ago
>> Current best practise is to put all the packages you need in your init.el file, then when you start Emacs, it'll download and install any packages you're missing.
I wasn't aware of that, how does that work? Obviously just `require`'ing the packages is not sufficient.
- weavejester 15y agoTake a look at the Emacs Starter Kit README: https://github.com/technomancy/emacs-starter-kit https://github.com/technomancy/emacs-starter-kit Basically it uses a combination of `package-installed-p` to check if the package is installed, and `package-install` to install said package if it is not. Note this is for Emacs 24, which comes with `package.el` preinstalled.