Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 47 lines (43 sloc) 1.892 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
b6f578c @technomancy Add Jabber client.
authored
10 'nxml
928285b @technomancy Gist is in elpa.
authored
11 'gist
77e270b @technomancy Rearranged ELPA code/docs.
authored
12 ;; To submit:
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
13 ;;; "magit"
f821261 @technomancy Autoload and invoke paredit. Fix ruby-mode RET.
authored
14 ;;; "paredit"
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
15 ;;; "clojure-mode"
16 ;;; "yaml"
8b83d57 @technomancy Tweak a few variables, change the package list.
authored
17 ;;; "haml"
18 ;;; "sass"
77e270b @technomancy Rearranged ELPA code/docs.
authored
19 ;;; "cheat"
20 ;;; "html-fontify"
21 ;;; "color-theme"
22 ;;; "color-theme-zenburn"
23 ;;; "color-theme-vivid-chalk"
24 ;; Complicated ones:
25 ;;; "nxhtml"
26 ;;; "rinari"
27 ;;; "jabber"
28 ;;; "slime"
29 ;;; "swank-clojure"
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
30 )
31 "Libraries that should be installed by default.")
32
33 (defun starter-kit-elpa-install ()
34 "Install all starter-kit packages that aren't installed."
35 (interactive)
36 (dolist (package starter-kit-packages)
b6f578c @technomancy Add Jabber client.
authored
37 (unless (member package package-activated-list)
38 (message "Installing %s" (symbol-name package))
76d7bbf @technomancy Set up some ELPA stuff on launch.
authored
39 (package-install package))))
40
41 ;; On your first run, this should pull in all the base packages.
42 ;; But you might not be online, so ignore errors.
43 (ignore-errors
44 (message "Checking base list of packages...")
cd23f0c @technomancy Fix elpa integration.
authored
45 (starter-kit-elpa-install))
46
47 (provide 'starter-kit-elpa)
Something went wrong with that request. Please try again.