diff options
author | Alex Kost <alezost@gmail.com> | 2015-10-06 20:30:16 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-10-09 16:17:45 +0300 |
commit | 5a60d56975a67facbea41cb97fb4903453bf0752 (patch) | |
tree | fc019af46e491639b89207460a0721a03ed13af3 /emacs/guix-devel.el | |
parent | 7c786db4fba0c19d46d23f978af3d0131f985f15 (diff) | |
download | guix-5a60d56975a67facbea41cb97fb4903453bf0752.tar.gz |
emacs: Fix 'guix-devel-setup-repl'.
Setting up guix ports needs to be done in Geiser REPL synchronously, otherwise this operation may not be finished before the further evaluating of guile code. * emacs/guix-guile.el (guix-guile-prompt?): New function. * emacs/guix-geiser.el (guix-geiser-eval-in-repl-synchronously): New function. * emacs/guix-devel.el (guix-devel-setup-repl): Use it.
Diffstat (limited to 'emacs/guix-devel.el')
-rw-r--r-- | emacs/guix-devel.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/guix-devel.el b/emacs/guix-devel.el index 1f760b6ee5..b51fcee459 100644 --- a/emacs/guix-devel.el +++ b/emacs/guix-devel.el @@ -79,7 +79,7 @@ Interactively, use the module defined by the current scheme file." "(guix store)") ;; Without this workaround, the build output disappears. See ;; <https://github.com/jaor/geiser/issues/83> for details. - (guix-geiser-eval-in-repl + (guix-geiser-eval-in-repl-synchronously "(current-build-output-port (current-error-port))" repl 'no-history 'no-display)) |