From 7df4e252fd6aabde8e8ac665334f470f7d244d3d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 30 Jun 2019 13:20:46 +0200 Subject: [PATCH] tools/lsp: refactor out dash --- modules/tools/lsp/autoload.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/tools/lsp/autoload.el b/modules/tools/lsp/autoload.el index 584e72c7a..55a827573 100644 --- a/modules/tools/lsp/autoload.el +++ b/modules/tools/lsp/autoload.el @@ -19,6 +19,7 @@ been moved out to their respective modules, or these hooks: (lsp--try-project-root-workspaces (equal arg '(4)) (and arg (not (equal arg 1))))))) (lsp-mode 1) - (lsp--info "Connected to %s." - (apply 'concat (--map (format "[%s]" (lsp--workspace-print it)) - lsp--buffer-workspaces))))) + (lsp--info + "Connected to %s." + (apply #'concat (mapcar (lambda (it) (format "[%s]" (lsp--workspace-print it))) + lsp--buffer-workspaces)))))