summaryrefslogtreecommitdiff
path: root/.emacs.d/el-get-init.el
blob: cb127ced02a31d592a814be091a20fadccd0748c (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 el-get sml-mode)
       (mapcar 'el-get-source-name el-get-sources)))

(el-get 'sync my-packages)