Skip to content

Commit a7f07a0

Browse files
dpsuttonbbatsov
authored andcommitted
Set artificial to true on comint-send-input
From comint-send-input: > After the input has been sent, if `comint-process-echoes' is non-nil, then `comint-send-input' waits to see if the process outputs a string matching the input, and if so, deletes that part of the output. If ARTIFICIAL is non-nil, it inhibits such deletion. Callers sending input not from the user should use ARTIFICIAL = t. Seems to mess up a buffer somewhere and output isn't flushed. Extremely important
1 parent 80cefbb commit a7f07a0

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
@@ -769,7 +769,7 @@ Indent FORM. FORM is expected to have been trimmed."
769769
(let ((end (point)))
770770
(goto-char beginning)
771771
(indent-sexp end)))
772-
(comint-send-input t))))
772+
(comint-send-input t t))))
773773

774774
(defun inf-clojure-insert-defun ()
775775
"Send current defun to process."

0 commit comments

Comments
 (0)