Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (43 sloc) 1.85 KB
;;; starter-kit-elpa.el --- Install a base set of packages automatically.
;; Part of the Emacs Starter Kit
(defvar starter-kit-packages (list 'idle-highlight
;; To submit:
;;; "magit"
;;; "paredit"
;;; "clojure-mode"
;;; "yaml"
;;; "haml"
;;; "sass"
;;; "cheat"
;;; "html-fontify"
;;; "color-theme"
;;; "color-theme-zenburn"
;;; "color-theme-vivid-chalk"
;; Complicated ones:
;;; "nxhtml"
;;; "rinari"
;;; "jabber"
;;; "slime"
;;; "swank-clojure"
"Libraries that should be installed by default.")
(defun starter-kit-elpa-install ()
"Install all starter-kit packages that aren't installed."
(dolist (package starter-kit-packages)
(unless (member package package-activated-list)
(message "Installing %s" (symbol-name package))
(package-install package))))
;; On your first run, this should pull in all the base packages.
;; But you might not be online, so ignore errors.
(message "Checking base list of packages...")
(provide 'starter-kit-elpa)
Something went wrong with that request. Please try again.