diff options
author | Martin Polden <martin.polden@gmail.com> | 2014-07-25 02:10:44 +0200 |
---|---|---|
committer | Martin Polden <martin.polden@gmail.com> | 2014-07-25 02:11:34 +0200 |
commit | 5993f593b4a9706a3b7628205a020953ad1247b7 (patch) | |
tree | 363da3160fa0ac5aa255f2d1690afc933346ed89 /lisp/init-package.el | |
parent | 64ddbdf0f0fbd7cbf2061312503f521ec4c21bda (diff) |
Use mapcar instead of requiring dash
Diffstat (limited to 'lisp/init-package.el')
-rw-r--r-- | lisp/init-package.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/init-package.el b/lisp/init-package.el index cef583c..f60edd2 100644 --- a/lisp/init-package.el +++ b/lisp/init-package.el @@ -16,13 +16,9 @@ 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))) + (mapcar (lambda (package) (require-package package)) packages)) ;; add ~/.emacs.d/site-lisp to load path, if it exists ;; used for backported code and overriding existing packages |