summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-14 22:36:17 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-14 22:36:17 +0100
commit4f1d94031dd370cc77a1b4eaa484bcab159f941e (patch)
tree989c23f75995122fade226647f4109f952afd574
parent6d64c4f1a19862d88d0429cd60f42c811e4007a6 (diff)
downloadgeiser-chez-4f1d94031dd370cc77a1b4eaa484bcab159f941e.tar.gz
geiser-chez-4f1d94031dd370cc77a1b4eaa484bcab159f941e.tar.bz2
Smoother REPL exit (deactivating the connection)
-rw-r--r--elisp/geiser-repl.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 8c51818..4ca5b2c 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -612,6 +612,7 @@ With a prefix argument, force exit by killing the scheme process."
(interactive "P")
(when (or (not geiser-repl-query-on-exit-p)
(y-or-n-p "Really quit this REPL? "))
+ (geiser-con--connection-deactivate geiser-repl--connection t)
(let ((cmd (and (not arg)
(geiser-repl--exit-cmd geiser-impl--implementation))))
(if cmd