From 87fb552d62b2135fc6b11e1b073f0a901b639849 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 11 Jul 2014 22:43:58 +0100 Subject: Emacs: Auto-install req-package if neeeded init.el is now self-bootstrapping, which is useful on OSX when the Emacs application doesn't supply an `emacs` binary for `cask` --- tag-emacs/emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 3d80c712..b14fd021 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -44,6 +44,9 @@ (cask-initialize)) (setq use-package-verbose t) +(unless (package-installed-p 'req-package) + (package-refresh-contents) + (package-install 'req-package)) (require 'req-package) (req-package pallet) -- cgit 1.4.1