diff options
author | Dan Leslie <dan@ironoxide.ca> | 2015-12-02 21:47:23 -0800 |
---|---|---|
committer | Dan Leslie <dan@ironoxide.ca> | 2015-12-05 06:52:05 -0800 |
commit | 49da44f6373718400833585dd494a35f71205d6e (patch) | |
tree | 23513c439fd2a9f860fb9cd250eab36d59345b9e /elisp/geiser-chicken.el | |
parent | d44d5cbda1013b682ab6c3a3938c7d484e3ce885 (diff) | |
download | geiser-guile-49da44f6373718400833585dd494a35f71205d6e.tar.gz geiser-guile-49da44f6373718400833585dd494a35f71205d6e.tar.bz2 |
Fixes for Literals, Errors and Modules
If literals were present chicken wouldn't provide any autodocumentation
due to an error. Module evaluation was failing due to poor
input. Chicken's Error output was failing to parse
- Filter out all non-symbols from the autodoc set
- Properly escape module names
- Add "Error" to the set of accepted error prefixes
Diffstat (limited to 'elisp/geiser-chicken.el')
-rw-r--r-- | elisp/geiser-chicken.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/elisp/geiser-chicken.el b/elisp/geiser-chicken.el index a68ab7b..88d60cf 100644 --- a/elisp/geiser-chicken.el +++ b/elisp/geiser-chicken.el @@ -143,8 +143,9 @@ This function uses `geiser-chicken-init-file' if it exists." (defun geiser-chicken--geiser-procedure (proc &rest args) (case proc ((eval compile) - (let ((form (mapconcat 'identity (cdr args) " "))) - (format "(geiser-eval %s '%s)" (or (car args) "#f") form))) + (let ((form (mapconcat 'identity (cdr args) " ")) + (module (if (car args) (concat "'" (car args)) "#f"))) + (format "(geiser-eval %s '%s)" module form))) ((load-file compile-file) (format "(geiser-load-file %s)" (car args))) ((no-values) |