diff options
author | Alan Pearce | 2013-05-14 16:51:38 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-14 16:51:38 +0100 |
commit | f047eb6cc310df64ef90def60644087925e762cd (patch) | |
tree | 0504525bd6ca8cf45813dc0c2a2b7a2d3e8bee48 | |
parent | ca36b49592990ec69413050dd4cc085256fa6ad2 (diff) | |
download | nixfiles-f047eb6cc310df64ef90def60644087925e762cd.tar.lz nixfiles-f047eb6cc310df64ef90def60644087925e762cd.tar.zst nixfiles-f047eb6cc310df64ef90def60644087925e762cd.zip |
Emacs: Check basic-packages list and install any missing packages
-rw-r--r-- | emacs/elisp/el-get-setup.el | 40 | ||||
-rw-r--r-- | emacs/init.el | 28 |
2 files changed, 28 insertions, 40 deletions
diff --git a/emacs/elisp/el-get-setup.el b/emacs/elisp/el-get-setup.el deleted file mode 100644 index 53f3a462..00000000 --- a/emacs/elisp/el-get-setup.el +++ /dev/null @@ -1,40 +0,0 @@ -(setq - eg:basic-packages - '( - auto-compile - auto-indent-mode - autopair - ace-jump-mode - bind-key - company - dired+ - diminish - expand-region - helm - help+ - help-fns+ - help-macro+ - help-mode+ - mic-paren - misc-cmds - multiple-cursors - projectile - project-persist - paredit - solarized-theme - smart-tab - smarttabs - smex - undo-tree - use-package - ) - - eg:windows-packages - '(ntcmd - w32-browser - ;; powershell - ;; powershell-mode - ) - - eg:cygwin-packages - '(windows-path)) diff --git a/emacs/init.el b/emacs/init.el index 4716c595..dbce9d9b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -21,6 +21,34 @@ (add-to-list 'load-path *elisp-dir*) +(mapc (lambda (package-name) + (unless (package-installed-p package-name) + (package-install package-name))) + '(auto-compile + auto-indent-mode + autopair + ace-jump-mode + bind-key + company + dired+ + diminish + expand-region + helm + nginx-mode + mic-paren + multiple-cursors + mustache-mode + projectile + project-persist + paredit + solarized-theme + smart-tab + smart-tabs-mode + smex + undo-tree + use-package + )) + (require 'use-package) (eval-when-compile |