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

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

[nongnu] elpa/inf-clojure ae43e2e 178/313: [Fix #113] Send REPL string a


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure ae43e2e 178/313: [Fix #113] Send REPL string always, even if empty
Date: Wed, 11 Aug 2021 10:00:11 -0400 (EDT)

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

    [Fix #113] Send REPL string always, even if empty
---
 CHANGELOG.md   | 1 +
 inf-clojure.el | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b023e55..1eca521 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
 * [#83](https://github.com/clojure-emacs/inf-clojure/pull/85): No such 
namespace: complete.core in lumo REPL.
 * [#93](https://github.com/clojure-emacs/inf-clojure/pull/93): Slow response 
from inf-clojure (completions, arglists, ...).
 * [#101](https://github.com/clojure-emacs/inf-clojure/pull/101): 
`inf-clojure-set-ns` hangs Emacs.
+* [#120](https://github.com/clojure-emacs/inf-clojure/pull/120): Send REPL 
string always, even if empty.
 
 ### New Features
 
diff --git a/inf-clojure.el b/inf-clojure.el
index 3bd4bfe..ed6058e 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -329,8 +329,7 @@ always be preferred over `comint-send-string`.  It 
delegates to
 the string for evaluation.  Refer to `comint-simple-send` for
 customizations."
   (inf-clojure--set-repl-type proc)
-  (when (> (length string) 0)
-    (comint-simple-send proc string)))
+  (comint-simple-send proc string))
 
 (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]