From 11c2dc5acf59909988b7fde5cd05dd79bcf3e2e4 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Mon, 30 Jun 2014 22:18:23 +0200 Subject: Add require-packages --- lisp/init-package.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lisp/init-package.el') diff --git a/lisp/init-package.el b/lisp/init-package.el index e8f15ec..14d732d 100644 --- a/lisp/init-package.el +++ b/lisp/init-package.el @@ -16,4 +16,12 @@ re-downloaded in order to locate PACKAGE." (package-refresh-contents) (require-package package min-version t))))) +;; dash - a better list api +(require-package 'dash) +(require 'dash) + +(defun require-packages (packages) + "Install a list of PACKAGES." + (--each packages (require-package it))) + (provide 'init-package) -- cgit v1.2.3