summaryrefslogtreecommitdiff
path: root/.emacs.d/el-get-init.el
blob: 73f175c3997fa45c418bae3fb78c48db563f2d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; initialization of el-get
;; do not put into .emacs to avoid cluttering
;;
;; SOURCE: https://github.com/dimitri/el-get

(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil t)
  (url-retrieve
   "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
   (lambda (s)
     (let (el-get-install-skip-emacswiki-recipes)
         (goto-char (point-max))
         (eval-print-last-sexp)))))

(setq my-packages
      (append
       '(color-theme evil el-get sml-mode)
       (mapcar 'el-get-source-name el-get-sources)))

(el-get 'sync my-packages)