diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index c181ea5c..f7b14ff9 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1,21 +1,3 @@ -(require 'package) - -(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) - -(defun ensure-packages-installed (packages) - (unless package-archive-contents - (package-refresh-contents)) - (mapcar - (lambda (package) - (if (package-installed-p package) - package - (progn (message (format "Installing package %s." package)) - (package-install package)))) - packages)) - -(package-initialize) -(ensure-packages-installed '(org-plus-contrib)) - (setq custom-file "~/.emacs.d/custom-before.el") (when (file-exists-p custom-file) (load custom-file))