From 217d2b5948b23a87efa3c617fdf213127e5acc15 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 19 Sep 2013 02:19:45 +0200 Subject: Fix: not using mapcar for effect --- elisp/geiser-guile.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'elisp/geiser-guile.el') diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el index 994ea6b..9182807 100644 --- a/elisp/geiser-guile.el +++ b/elisp/geiser-guile.el @@ -323,10 +323,9 @@ it spawn a server thread." (let ((geiser-log-verbose-p t)) (when remote (geiser-guile--set-geiser-load-path)) (geiser-eval--send/wait ",use (geiser emacs)\n'done") - (mapcar (lambda (dir) - (let ((dir (expand-file-name dir))) - (geiser-eval--send/wait `(:eval (:ge add-to-load-path ,dir))))) - geiser-guile-load-path) + (dolist (dir geiser-guile-load-path) + (let ((dir (expand-file-name dir))) + (geiser-eval--send/wait `(:eval (:ge add-to-load-path ,dir))))) (geiser-guile-update-warning-level))) -- cgit v1.2.3