Created
December 10, 2012 11:53
-
-
Save paologlim/4250180 to your computer and use it in GitHub Desktop.
Emacs config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-hook 'before-save-hook 'delete-trailing-whitespace) | |
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(package-initialize) | |
(when (not package-archive-contents) | |
(package-refresh-contents)) | |
;; Add in your own as you wish: | |
(defvar my-packages '(starter-kit starter-kit-js starter-kit-ruby starter-kit-lisp starter-kit-bindings haml-mode yaml-mode markdown-mode) | |
"A list of packages to ensure are installed at launch.") | |
(dolist (p my-packages) | |
(when (not (package-installed-p p)) | |
(package-install p))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment