comparison .elisp/settings/00.bootstrap.el @ 323:aa5afa13e12c

emacs: add go-eldoc for better go programming
author Augie Fackler <raf@durin42.com>
date Thu, 11 Jul 2013 09:16:09 -0500
parents 7cb31ed262f0
children 4f49d70f1b69
comparison
equal deleted inserted replaced
322:a7f5b0526a51 323:aa5afa13e12c
4 (load "package") 4 (load "package")
5 (package-initialize) 5 (package-initialize)
6 6
7 (setq package-archives '(("durin42" . "http://durin42.com/elpa/") 7 (setq package-archives '(("durin42" . "http://durin42.com/elpa/")
8 ("marmalade" . "http://marmalade-repo.org/packages/") 8 ("marmalade" . "http://marmalade-repo.org/packages/")
9 ("melpa" . "http://melpa.milkbox.net/packages/")
9 ("elpa" . "http://tromey.com/elpa/"))) 10 ("elpa" . "http://tromey.com/elpa/")))
10 11
11 (defun af-bootstrap-packages () 12 (defun af-bootstrap-packages ()
12 (interactive) 13 (interactive)
13 (unless package-archive-contents (package-refresh-contents)) 14 (unless package-archive-contents (package-refresh-contents))
26 paredit 27 paredit
27 smex 28 smex
28 yaml-mode 29 yaml-mode
29 company 30 company
30 wgrep 31 wgrep
32 ;; for go-eldoc
33 popup
34 auto-complete
35 go-autocomplete
36 go-eldoc
31 )) 37 ))
32 (unless (or (member pack package-activated-list) 38 (unless (or (member pack package-activated-list)
33 (functionp pack)) 39 (functionp pack))
34 (message "Installing %s" (symbol-name pack)) 40 (message "Installing %s" (symbol-name pack))
35 (package-install pack)))) 41 (package-install pack))))