summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
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: