From 9f7e233af05e483d94f2376c9f6b35aa38f9bbc1 Mon Sep 17 00:00:00 2001 From: rekado Date: Wed, 13 Jul 2016 23:16:28 +0200 Subject: Replace "mapcar" with "mapc". --- init.org | 8 ++++---- 1 file 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 () -- cgit v1.2.3