Skip to content

Commit 9deb198

Browse files
arichiardibbatsov
authored andcommitted
Use comint-send-string
This one is solving the weird duplicating prompt issue. After the sanitation patch we were sending newline twice. Using comint-send-string because it is more low-level and does not modify the input string, which we are building correctly already (hopefully).
1 parent feca1cc commit 9deb198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inf-clojure.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ customizations."
342342
(inf-clojure--set-repl-type proc)
343343
(let ((sanitized (inf-clojure--sanitize-command string)))
344344
(inf-clojure--log-string sanitized "----CMD->")
345-
(comint-simple-send proc sanitized)))
345+
(comint-send-string proc sanitized)))
346346

347347
(defcustom inf-clojure-load-form "(clojure.core/load-file \"%s\")"
348348
"Format-string for building a Clojure expression to load a file.

0 commit comments

Comments
 (0)