Created
December 5, 2013 10:51
-
-
Save LouisKottmann/7803450 to your computer and use it in GitHub Desktop.
Emacs package sync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'cl) | |
;; Install missing packages | |
(require 'package) | |
(defvar baboon-packages | |
'(w3 solarized-theme haml-mode | |
slime ecb tabbar | |
powerline auto-complete | |
twittering-mode emms hackernews | |
rinari markdown-mode web-mode) | |
"Packages any decent baboon would use.") | |
(package-initialize) | |
(message "%s" "The jungle god is looking for newer packages..") | |
(package-refresh-contents) | |
(message "%s" " done.") | |
(mapc | |
(lambda (package) | |
(or (package-installed-p package) | |
(package-install package))) | |
baboon-packages) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment