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
This commit is contained in:
Adam Goldsmith 2015-06-28 09:03:03 -04:00
parent 75173876ba
commit 31fb2921da

12
.emacs
View File

@ -48,7 +48,7 @@
(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipies") (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 el-get-user-package-directory "~/.emacs.d/el-get-user/init-files")
(setq my-packages (setq my-packages-core
'(el-get '(el-get
smart-mode-line smart-mode-line
avy avy
@ -60,8 +60,9 @@
magit magit
undo-tree undo-tree
hydra hydra
multiple-cursors multiple-cursors))
lua-mode (setq my-packages-extra
'(lua-mode
pkgbuild-mode pkgbuild-mode
arduino-mode arduino-mode
gnuplot-mode gnuplot-mode
@ -74,8 +75,9 @@
jedi-core jedi-core
company-jedi)) company-jedi))
;;auctex)) ;;auctex))
(el-get-cleanup my-packages) (el-get-cleanup (append my-packages-core my-packages-extra))
(el-get 'sync my-packages) (el-get 'sync my-packages-core)
(el-get 'sync)
;;allow saving files that need root ;;allow saving files that need root
(defun find-file-as-root(buffer) (defun find-file-as-root(buffer)