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`
Alan Pearce alan@alanpearce.co.uk
Fri, 11 Jul 2014 22:43:58 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -44,6 +44,9 @@ (require 'cask) (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)