Skip to content

Commit d1e1618

Browse files
author
Mike Bruce
committed
[clojure-emacs#209] ensure space for clojure cli args
1 parent 8f4bd86 commit d1e1618

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

inf-clojure.el

+4-2
Original file line numberDiff line numberDiff line change
@@ -975,8 +975,10 @@ VALUE can be any string, by default this is either derived from your current dir
975975
(repl-buffer-name (format "%s-%s-repl" project-name repl-type))
976976
(socket-form (cdr (assoc (intern repl-type) inf-clojure-socket-forms)))
977977
(socket-cmd (concat (format socket-form (number-to-string port))
978-
(cond ((string= repl-type "clojure") inf-clojure-cli-args)
979-
((string= repl-type "cljs") inf-clojure-cljs-cli-args)
978+
(cond ((string= repl-type "clojure")
979+
(concat " " inf-clojure-cli-args))
980+
((string= repl-type "cljs")
981+
(concat " " inf-clojure-cljs-cli-args))
980982
(t nil))))
981983
(sock (start-file-process-shell-command
982984
socket-process-name socket-buffer

0 commit comments

Comments
 (0)