summaryrefslogtreecommitdiff
path: root/elisp/geiser-chicken.el
diff options
context:
space:
mode:
authorLockywolf <lockywolf@gmail.com>2019-08-29 13:55:24 +0800
committerLockywolf <lockywolf@gmail.com>2019-09-03 15:06:02 +0800
commitfb6be75c2ba3b6064ad69544b409f7e7962fa74d (patch)
treecb7edd5ae60ace721912d4b7c1693b8e955ceb8f /elisp/geiser-chicken.el
parentee24d693951dfb6bc6683930c63b1eecfc4b628e (diff)
downloadgeiser-guile-fb6be75c2ba3b6064ad69544b409f7e7962fa74d.tar.gz
geiser-guile-fb6be75c2ba3b6064ad69544b409f7e7962fa74d.tar.bz2
Fix latest chicken. Add debug level logging. Fixed typo.
Diffstat (limited to 'elisp/geiser-chicken.el')
-rw-r--r--elisp/geiser-chicken.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/elisp/geiser-chicken.el b/elisp/geiser-chicken.el
index 1af2afa..dff028f 100644
--- a/elisp/geiser-chicken.el
+++ b/elisp/geiser-chicken.el
@@ -295,12 +295,8 @@ This function uses `geiser-chicken-init-file' if it exists."
(geiser-eval--send/wait load-sequence))))
(defun geiser-chicken5-load ()
- (let ((source (expand-file-name "chicken/geiser/chicken5.scm" geiser-scheme-dir))
- (suppression-prefix
- "(define geiser-stdout (current-output-port))(current-output-port (make-output-port (lambda a #f) (lambda a #f)))")
- (suppression-postfix
- "(current-output-port geiser-stdout)"))
- (geiser-eval--send/wait (format "%s (load \"%s\") (import geiser) %s" suppression-prefix source suppression-postfix))))
+ (let ((source (expand-file-name "chicken/geiser/chicken5.scm" geiser-scheme-dir)))
+ (geiser-eval--send/wait (format "(display '((result . t) (output . f))) (load \"%s\") (import geiser)" source))))
(defun geiser-chicken--startup (remote)
(compilation-setup t)