summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-07-13 23:16:28 +0200
committerrekado <rekado@elephly.net>2016-07-13 23:16:28 +0200
commit9f7e233af05e483d94f2376c9f6b35aa38f9bbc1 (patch)
treefd253211d7e8bf944d5594e3a90299a42215a4dd
parentc135c06f72fffc38a328a1a03054fc7d18a5bc4a (diff)
Replace "mapcar" with "mapc".
-rw-r--r--init.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.org b/init.org
index ceb47cc..d4da3bc 100644
--- a/init.org
+++ b/init.org
@@ -145,10 +145,10 @@ Now we are ready to install packages if they aren’t yet installed.
#+BEGIN_SRC elisp
(defun packages-install (packages)
- (mapcar (lambda (package)
- (when (not (package-installed-p package))
- (package-install package)))
- packages)
+ (mapc (lambda (package)
+ (when (not (package-installed-p package))
+ (package-install package)))
+ packages)
(delete-other-windows))
(defun init--install-packages ()