handle symbolic module names property in module-path-index->taglet
svn: r10188 original commit: 31d9571a4747b7914570783f621758d57b898c6b
This commit is contained in:
parent
9eaed37e81
commit
c5676e8882
|
@ -108,10 +108,14 @@
|
|||
(if (path? p)
|
||||
;; If we got a path back anyway, then it's best to use the resolved
|
||||
;; name; if the current directory has changed since we
|
||||
;; the path-index was resolved, then p might not be right
|
||||
(intern-taglet
|
||||
(path->main-collects-relative
|
||||
(resolved-module-path-name (module-path-index-resolve mod))))
|
||||
;; the path-index was resolved, then p might not be right. Also,
|
||||
;; the resolved path might be a symbol instead of a path.
|
||||
(let ([rp (resolved-module-path-name
|
||||
(module-path-index-resolve mod))])
|
||||
(if (path? rp)
|
||||
(intern-taglet
|
||||
(path->main-collects-relative rp))
|
||||
rp))
|
||||
(let ([p (if (and (pair? p)
|
||||
(eq? (car p) 'planet))
|
||||
;; Normalize planet verion number based on current
|
||||
|
|
Loading…
Reference in New Issue
Block a user