Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 76d7bbfc0c
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (40 sloc) 1.747 kB
;;; starter-kit-elpa.el --- Install a base set of packages automatically.
;;
;; Part of the Emacs Starter Kit
(setq starter-kit-packages (list 'idle-highlight
'ruby-mode
'inf-ruby
'js2-mode
'css-mode
;; To submit:
;;; "magit"
;;; "paredit"
;;; "clojure-mode"
;;; "yaml"
;;; "haml"
;;; "sass"
;;; "cheat"
;;; "gist"
;;; "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."
(interactive)
(dolist (package starter-kit-packages)
(unless (functionp 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.
(ignore-errors
(message "Checking base list of packages...")
(starter-kit-elpa-install))
Jump to Line
Something went wrong with that request. Please try again.