Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 184f0a6

Browse filesBrowse files
committed
Accept cons pair for tcp connections.
1 parent aa81e31 commit 184f0a6
Copy full SHA for 184f0a6

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎inf-clojure.el

Copy file name to clipboardExpand all lines: inf-clojure.el
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ of `inf-clojure-program'). Runs the hooks from
322322
(if (not (comint-check-proc "*inf-clojure*"))
323323
;; run the new process in the project's root when in a project folder
324324
(let ((default-directory (inf-clojure-project-root))
325-
(cmdlist (split-string cmd)))
325+
(cmdlist (if (consp cmd)
326+
(list cmd)
327+
(split-string cmd))))
326328
(set-buffer (apply #'make-comint
327329
"inf-clojure" (car cmdlist) nil (cdr cmdlist)))
328330
(inf-clojure-mode)))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.