diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 00:04:26 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 00:04:26 +0200 |
commit | 24ea5bb9d9859f819aa404cb99a2d7cf2d482c8b (patch) | |
tree | 0b2a982821a0bc0760f023e2df6c6116b0e6cfd2 /elisp/geiser-mode.el | |
parent | e97cfc075eff2212875a3fba5b2d71af7960133e (diff) | |
download | geiser-24ea5bb9d9859f819aa404cb99a2d7cf2d482c8b.tar.gz geiser-24ea5bb9d9859f819aa404cb99a2d7cf2d482c8b.tar.bz2 |
Hide auto-started REPL
I'm not convinced that this is the right thing, and the effect is a
bit ugly (we use save-window-excursion), but maybe this is the correct
thing to do for users that want auto-start.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index b6d083a..b66f4a2 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -268,7 +268,7 @@ interacting with the Geiser REPL is at your disposal. (when (and geiser-mode geiser-mode-start-repl-p (not (geiser-repl--connection*))) - (save-current-buffer (switch-to-geiser)))) + (save-window-excursion (run-geiser geiser-impl--implementation)))) (defun turn-on-geiser-mode () "Enable `geiser-mode' (in a Scheme buffer)." |