From 79ded07aeb4beb3cc0707e16e5a61593d0ff0262 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 19 Dec 2020 17:24:17 +0100 Subject: [PATCH] [Emacs] Simpler code, uninstall unused packages --- org/config/emacs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 9d2c34a..e2eadf1 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -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 <>)) + (setq-default dotspacemacs-additional-packages '<>) #+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