diff options
author | rekado <rekado@elephly.net> | 2016-07-13 23:16:28 +0200 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-07-13 23:16:28 +0200 |
commit | 9f7e233af05e483d94f2376c9f6b35aa38f9bbc1 (patch) | |
tree | fd253211d7e8bf944d5594e3a90299a42215a4dd | |
parent | c135c06f72fffc38a328a1a03054fc7d18a5bc4a (diff) |
Replace "mapcar" with "mapc".
-rw-r--r-- | init.org | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 () |