[Emacs] Simpler code, uninstall unused packages

This commit is contained in:
Lucien Cartier-Tilet 2020-12-19 17:24:17 +01:00
parent 0bd5b42b79
commit 79ded07aeb
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ With the variable ~dotspacemacs-additional-packages~, it is possible to install
#+end_src
#+begin_src emacs-lisp :noweb yes :exports none
(setq-default dotspacemacs-additional-packages (quote <<make-extra-pkg()>>))
(setq-default dotspacemacs-additional-packages '<<make-extra-pkg()>>)
#+end_src
It is possible to also list packages that cannot be updated:
@ -110,7 +110,7 @@ Finally, it is possible to define the behaviour of Spacemacs when installing pac
- ~all~ :: installs *all* packages supported by Spacemacs and never uninstalls them.
The default value is ~used-only~.
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-install-packages 'used-but-keep-unused)
(setq-default dotspacemacs-install-packages 'used-only)
#+END_SRC
** Layers