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.