Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (41 sloc) 1.778 kB
77e270b @technomancy Rearranged ELPA code/docs.
authored
1 ;;; starter-kit-elpa.el --- Install a base set of packages automatically.
5fcb34d @technomancy initial commit
authored
2 ;;
3 ;; Part of the Emacs Starter Kit
77e270b @technomancy Rearranged ELPA code/docs.
authored
4
cd23f0c @technomancy Fix elpa integration.
authored
5 (defvar starter-kit-packages (list 'idle-highlight
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
6 'ruby-mode
7 'inf-ruby
8 'js2-mode
9 'css-mode
77e270b @technomancy Rearranged ELPA code/docs.
authored
10 ;; To submit:
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
11 ;;; "magit"
f821261 @technomancy Autoload and invoke paredit. Fix ruby-mode RET.
authored
12 ;;; "paredit"
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
13 ;;; "clojure-mode"
14 ;;; "yaml"
8b83d57 @technomancy Tweak a few variables, change the package list.
authored
15 ;;; "haml"
16 ;;; "sass"
77e270b @technomancy Rearranged ELPA code/docs.
authored
17 ;;; "cheat"
18 ;;; "gist"
19 ;;; "html-fontify"
20 ;;; "color-theme"
21 ;;; "color-theme-zenburn"
22 ;;; "color-theme-vivid-chalk"
23 ;; Complicated ones:
24 ;;; "nxhtml"
25 ;;; "rinari"
26 ;;; "jabber"
27 ;;; "slime"
28 ;;; "swank-clojure"
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
29 )
30 "Libraries that should be installed by default.")
31
32 (defun starter-kit-elpa-install ()
33 "Install all starter-kit packages that aren't installed."
34 (interactive)
35 (dolist (package starter-kit-packages)
36 (unless (functionp package)
37 (package-install package))))
38
39 ;; On your first run, this should pull in all the base packages.
40 ;; But you might not be online, so ignore errors.
41 (ignore-errors
42 (message "Checking base list of packages...")
cd23f0c @technomancy Fix elpa integration.
authored
43 (starter-kit-elpa-install))
44
45 (provide 'starter-kit-elpa)
Something went wrong with that request. Please try again.