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

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

[nongnu] elpa/inf-clojure 9deb198 202/313: Use comint-send-string


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure 9deb198 202/313: Use comint-send-string
Date: Wed, 11 Aug 2021 10:00:17 -0400 (EDT)

branch: elpa/inf-clojure
commit 9deb1988832ec723fbd652a327325c4b9b285153
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>

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

diff --git a/inf-clojure.el b/inf-clojure.el
index 730cf86..fbad183 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -342,7 +342,7 @@ customizations."
   (inf-clojure--set-repl-type proc)
   (let ((sanitized (inf-clojure--sanitize-command string)))
     (inf-clojure--log-string sanitized "----CMD->")
-    (comint-simple-send proc sanitized)))
+    (comint-send-string proc sanitized)))
 
 (defcustom inf-clojure-load-form "(clojure.core/load-file \"%s\")"
   "Format-string for building a Clojure expression to load a file.



reply via email to

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