diff options
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r-- | elisp/geiser-repl.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index dfdc26b..dbf767a 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -934,7 +934,8 @@ paredit." (compilation-forget-errors)) (geiser-repl--prepare-send) (comint-send-input) - (when (string-match "^\\s-*$" intxt) + ;; match if `intxt' is lines of whitespace + (when (string-match "\\`\\(\\s-\\|\n\\)*\\'" intxt) (comint-send-string proc (geiser-eval--scheme-str '(:ge no-values))) (comint-send-string proc "\n"))))) |