summaryrefslogtreecommitdiff
path: root/bin/geiser-racket.sh
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-11 16:27:01 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-11 16:27:01 +0100
commitea8a2b3762f54ad2f6434b82a80d04228b478d1d (patch)
tree647d5db3e5944e1ce9a8f3233fdb3ccb2708a31c /bin/geiser-racket.sh
parent3fe2031aef30a9c9b29ef107947b32b6eb6d037e (diff)
downloadgeiser-ea8a2b3762f54ad2f6434b82a80d04228b478d1d.tar.gz
geiser-ea8a2b3762f54ad2f6434b82a80d04228b478d1d.tar.bz2
Racket reconnected
Diffstat (limited to 'bin/geiser-racket.sh')
-rwxr-xr-xbin/geiser-racket.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/geiser-racket.sh b/bin/geiser-racket.sh
index 4f16383..cbe3b9e 100755
--- a/bin/geiser-racket.sh
+++ b/bin/geiser-racket.sh
@@ -8,12 +8,12 @@ exec racket -i -S "$top/racket" -l errortrace -cu "$0" ${1+"$@"}
(require (lib "cmdline.rkt"))
-(define port (make-parameter 1969))
+(define port (make-parameter 0))
(command-line
"run-racket.sh" (current-command-line-arguments)
(once-each
(("-p" "--port") p "Geiser server port" (port (string->number p)))))
-(and ((dynamic-require 'geiser/server 'start-geiser) (port))
- (printf "Geiser server running at port ~a~%" (port)))
+(printf "Geiser server running at port ~a~%"
+ ((dynamic-require 'geiser/server 'start-geiser)))