From 5a60d56975a67facbea41cb97fb4903453bf0752 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Tue, 6 Oct 2015 20:30:16 +0300 Subject: 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. --- emacs/guix-devel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/guix-devel.el') 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 ;; 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)) -- cgit v1.2.3