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
commit8d1e1c47563131cd0f52f0cc02fa0b23eebd2227 (patch)
treebd616c0bf1c0a57062f8b0bb9dc702f7edb813e5 /bin/geiser-racket.sh
parentd773c05503659047f35878bd745568ce04078148 (diff)
downloadgeiser-guile-8d1e1c47563131cd0f52f0cc02fa0b23eebd2227.tar.gz
geiser-guile-8d1e1c47563131cd0f52f0cc02fa0b23eebd2227.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)))