From e1673221200c35bdacffebbcc26c2e562080a9fd Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 9 Jan 2011 22:40:11 +0100 Subject: Racket: ',enter "foo"' as a synonym of ',enter (file "foo")' --- scheme/racket/geiser/user.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scheme/racket/geiser/user.rkt') diff --git a/scheme/racket/geiser/user.rkt b/scheme/racket/geiser/user.rkt index 70defd4..72aa48a 100644 --- a/scheme/racket/geiser/user.rkt +++ b/scheme/racket/geiser/user.rkt @@ -1,6 +1,6 @@ ;;; user.rkt -- global bindings visible to geiser users -;; Copyright (C) 2010 Jose Antonio Ortega Ruiz +;; Copyright (C) 2010, 2011 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -28,6 +28,7 @@ [(module-path? mod) (enter-module mod) (current-namespace (module->namespace mod))] + [(path-string? mod) (enter! `(file ,mod) stx)] [else (raise-syntax-error #f "not a valid module path, and not #f" -- cgit v1.2.3