commit 37b41675c13aac6e68d0307087c7268259f2d043
parent 1abd3aa39e75e22eb335444b0c83bc47f7fac96d
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Tue, 25 May 2010 09:04:14 -0600
fix problem using both #:doc and #:tag-prefixes for secref
Merge to v5.0
original commit: e8fe67991eaa4660273847419d6d886a8ccd94c2
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/collects/scribble/base.rkt b/collects/scribble/base.rkt
@@ -226,7 +226,9 @@
(case-lambda
[(doc s)
(if doc
- (list (module-path-prefix->string doc) s)
+ (if (list? s)
+ (cons (module-path-prefix->string doc) s)
+ (list (module-path-prefix->string doc) s))
s)]
[(doc prefix s)
(doc-prefix doc (if prefix