summaryrefslogtreecommitdiff
path: root/elisp/geiser-compile.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-compile.el')
-rw-r--r--elisp/geiser-compile.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/elisp/geiser-compile.el b/elisp/geiser-compile.el
index 1c2a1de..d43cabb 100644
--- a/elisp/geiser-compile.el
+++ b/elisp/geiser-compile.el
@@ -1,4 +1,4 @@
-;;; geiser-compile.el -- compile/load scheme files
+;;; geiser-compile.el -- compile/load scheme files -*- lexical-binding: t; -*-
;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2016, 2018, 2021 Jose Antonio Ortega Ruiz
@@ -41,10 +41,11 @@
(buffer (car b/p))
(path (cdr b/p))
(msg (format "%s %s ..." msg path))
- (code `(,(if compile-p :comp-file :load-file) ,path)))
+ (code `(,(if compile-p :comp-file :load-file) ,path))
+ (cont (lambda (ret) (geiser-compile--display-result msg ret))))
(message msg)
(geiser-autodoc--clean-cache)
- (geiser-compile--display-result msg (geiser-eval--send/wait code))))
+ (geiser-eval--send code cont)))
;;; User commands: