Taylor Bockman
9 years ago
3 changed files with 0 additions and 24 deletions
@ -1,4 +0,0 @@
|
||||
/home/taylor/.emacs.d/package.el |
||||
/home/taylor/.emacs.d/#package.el# |
||||
/home/taylor/.emacs.d/init.el |
||||
/home/taylor/.emacs.d/#init.el# |
@ -1,2 +0,0 @@
|
||||
(require 'package) |
||||
(package-initialize) |
@ -1,18 +0,0 @@
|
||||
(require 'cl) |
||||
|
||||
(defvar my-packages |
||||
'(ack-and-a-half clojure-mode coffee-mode paredit) |
||||
"Packages to make sure are installed") |
||||
|
||||
(defun my-packages-installed-p () |
||||
(loop for p in my-packages |
||||
when (not (package-installed-p p)) do (return nil) |
||||
finally (return t))) |
||||
|
||||
(unless (my-packages-installed-p) |
||||
;; check for new packages (package versions) |
||||
(package-refresh-contents) |
||||
;; install the missing packages |
||||
(dolist (p my-packages) |
||||
(when (not (package-installed-p p)) |
||||
(package-install p)))) |
Loading…
Reference in new issue