summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-07 21:29:35 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-07 21:29:35 +0100
commita5d8a81e8ea7d686f48d835088e3122397a69f64 (patch)
treed37a8b4dea4f4d4a43dc78a0dbbdc05a32779f52 /elisp/geiser-plt.el
parent2f80b75ded14c09081c42006461c6a02ef426463 (diff)
downloadgeiser-a5d8a81e8ea7d686f48d835088e3122397a69f64.tar.gz
geiser-a5d8a81e8ea7d686f48d835088e3122397a69f64.tar.bz2
PLT: additional binding forms (sequence API).
Diffstat (limited to 'elisp/geiser-plt.el')
-rw-r--r--elisp/geiser-plt.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el
index c808ed5..53177d3 100644
--- a/elisp/geiser-plt.el
+++ b/elisp/geiser-plt.el
@@ -112,6 +112,13 @@ This function uses `geiser-plt-init-file' if it exists."
(defun geiser-plt--enter-command (module)
(and (stringp module) (format "(enter! (file %S))" module)))
+(defconst geiser-plt--binding-forms
+ '(for for/list for/hash for/hasheq for/and for/or
+ for/lists for/first for/last for/fold))
+
+(defconst geiser-plt--binding-forms*
+ '(for* for*/list for*/lists for*/hash for*/hasheq for*/and
+ for*/or for*/first for*/last for*/fold))
;;; External help
@@ -183,7 +190,9 @@ This function uses `geiser-plt-init-file' if it exists."
(find-symbol-begin geiser-plt--symbol-begin)
(display-error geiser-plt--display-error)
(display-help geiser-plt--external-help)
- (check-buffer geiser-plt--guess))
+ (check-buffer geiser-plt--guess)
+ (binding-forms geiser-plt--binding-forms)
+ (binding-forms* geiser-plt--binding-forms*))
(geiser-impl--add-to-alist 'regexp "\\.mzscheme\\.sl?s$" 'plt t)
(geiser-impl--add-to-alist 'regexp "\\.ss$" 'plt t)