From 31fb2921da6fc9522b2514be0d4e5579c38de4d2 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 28 Jun 2015 09:03:03 -0400 Subject: [PATCH] split packages into core and extra both are used to clean up, so none are removed, but only core is sync'd explicitly, so extra packages are not installed --- .emacs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.emacs b/.emacs index cb00cf1..dcc7974 100644 --- a/.emacs +++ b/.emacs @@ -48,7 +48,7 @@ (add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipies") (setq el-get-user-package-directory "~/.emacs.d/el-get-user/init-files") -(setq my-packages +(setq my-packages-core '(el-get smart-mode-line avy @@ -60,8 +60,9 @@ magit undo-tree hydra - multiple-cursors - lua-mode + multiple-cursors)) +(setq my-packages-extra + '(lua-mode pkgbuild-mode arduino-mode gnuplot-mode @@ -74,8 +75,9 @@ jedi-core company-jedi)) ;;auctex)) -(el-get-cleanup my-packages) -(el-get 'sync my-packages) +(el-get-cleanup (append my-packages-core my-packages-extra)) +(el-get 'sync my-packages-core) +(el-get 'sync) ;;allow saving files that need root (defun find-file-as-root(buffer)