emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-clojure a7f07a0 245/313: Set artificial to true on com


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure a7f07a0 245/313: Set artificial to true on comint-send-input
Date: Wed, 11 Aug 2021 10:00:26 -0400 (EDT)

branch: elpa/inf-clojure
commit a7f07a0add4aa20ebb974890c9c7a5ab1dd78433
Author: dan sutton <dan@dpsutton.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>

    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
---
 inf-clojure.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index e9cb89f..ea25492 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -769,7 +769,7 @@ Indent FORM.  FORM is expected to have been trimmed."
         (let ((end (point)))
           (goto-char beginning)
           (indent-sexp end)))
-      (comint-send-input t))))
+      (comint-send-input t t))))
 
 (defun inf-clojure-insert-defun ()
   "Send current defun to process."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]