dotfiles/dotfiles/emacs.d/init.el

25 lines
652 B
EmacsLisp
Raw Normal View History

2016-06-06 12:57:27 -06:00
(require 'package)
(add-to-list 'package-archives '("org" . "https://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))
(org-babel-load-file
2016-06-06 13:00:47 -06:00
(concat (file-name-directory load-file-name) "config.org") t)
2016-06-06 12:57:27 -06:00
;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; End: