summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-17 00:44:11 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-17 00:44:11 +0100
commit4814d02ad67edb086b8ccd8ad6a6798fe780b968 (patch)
treef0d2e45fe5cc4020f0b5d3ea8c9dd063f9bfa243 /elisp/geiser-syntax.el
parentf574939e5db2f64eab21493bb70ac6605f76646f (diff)
downloadgeiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.gz
geiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.bz2
Separate commands for evaluation and compilation.
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r--elisp/geiser-syntax.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 6577152..2c69a5c 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -40,7 +40,7 @@
(save-excursion
(goto-char (point-min))
(when (re-search-forward geiser-syntax--module-definition-re nil t)
- (match-string-no-properties 1))))))
+ (car (read-from-string (match-string-no-properties 1))))))))
;;; Indentation:
@@ -48,6 +48,8 @@
(let ((defuns '(catch)))
(mapc (lambda (d) (put d 'scheme-indent-function 'defun)) defuns)))
+(geiser-syntax--setup-scheme-indent)
+
;;; Code parsing: