branch: elpa/inf-clojure
commit abeab8d6d4cb3bdded5e9083776aab0c06cbdf57
Author: winterbeardo <[email protected]>
Commit: GitHub <[email protected]>
[Fix #185] Improve cmd string splitting (#198)
The following now works: (inf-clojure "clojure -Sdeps \"{:deps {insn/insn
{:mvn/version \\\"0.5.4\\\"}}}\"")
---
inf-clojure.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index b5b1388b10..bb07c347dc 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -775,7 +775,7 @@ process buffer for a list of commands.)"
(let ((default-directory (or project-dir default-directory))
(cmdlist (if (consp cmd)
(list cmd)
- (split-string cmd)))
+ (split-string-and-unquote cmd)))
(repl-type (or (unless prefix-arg
inf-clojure-custom-repl-type)
(car (rassoc cmd inf-clojure-startup-forms))