Last active
August 29, 2015 14:06
-
-
Save waltervargas/166ba384e33d2c5ac224 to your computer and use it in GitHub Desktop.
Emacs Init Package
This file contains 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
;; Requisites: Emacs >= 24 | |
(require 'package) | |
(package-initialize) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/")) | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(package-refresh-contents) | |
(defun install-if-needed (package) | |
(unless (package-installed-p package) | |
(package-install package))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment