summaryrefslogtreecommitdiff
path: root/elisp/geiser-compile.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-02-28 03:45:39 +0000
committerjao <jao@gnu.org>2023-02-28 03:45:39 +0000
commitbd12f2dc6c5949e260f094fb60737498cd0ae9a5 (patch)
tree78df3ff3f12d2042cead3d6e76b4b65530887699 /elisp/geiser-compile.el
parent7c2fd938c607c88ffbf848bfa58181378c29055a (diff)
downloadgeiser-bd12f2dc6c5949e260f094fb60737498cd0ae9a5.tar.gz
geiser-bd12f2dc6c5949e260f094fb60737498cd0ae9a5.tar.bz2
Look for existing REPLs when compiling for the first time
Should provide a better fix for extended issue #58.
Diffstat (limited to 'elisp/geiser-compile.el')
-rw-r--r--elisp/geiser-compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-compile.el b/elisp/geiser-compile.el
index 1f80e97..3897499 100644
--- a/elisp/geiser-compile.el
+++ b/elisp/geiser-compile.el
@@ -47,7 +47,7 @@
(defun geiser-compile--ensure-repl (force)
(when (or force
- (and (not (geiser-repl--repl-buffer-p))
+ (and (not (geiser-repl--ensure-repl-buffer))
(yes-or-no-p "No REPL is running: start it?")))
(geiser-repl-restart-repl)))