Skip to content

Commit

Permalink
fix finddoc, returns a xexpr now
Browse files Browse the repository at this point in the history
svn: r8146
  • Loading branch information
elibarzilay committed Dec 29, 2007
1 parent e7b85d5 commit 15f06c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collects/help/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ documentation.
> (finddoc manual index-key label)
This procedure accepts three strings. The first is the name of
a doc collection, the second is an index entry in that manual, and
the final is a descriptive string. It returns a string representation
the final is a descriptive string. It returns a xexpr representation
of an anchor (in HTML) that points to that index entry in the manual.
If the manual is not found, or the index-key is not in the manual,
it returns html code that shows an error. Because the link is
Expand Down
2 changes: 1 addition & 1 deletion collects/help/private/finddoc.ss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
(match (lookup manual index-key label)
[(docdir index-key filename anchor title)
`(a ((href ,(string-append
"file:" (build-path docdir filename))))
"file:" (path->string (build-path docdir filename)))))
,label)]
[m m]))

Expand Down

0 comments on commit 15f06c8

Please sign in to comment.