fix problem using both #:doc and #:tag-prefixes for secref

Merge to v5.0

original commit: e8fe67991eaa4660273847419d6d886a8ccd94c2
This commit is contained in:
Matthew Flatt 2010-05-25 09:04:14 -06:00
commit 37b41675c1

View File

@ -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