original commit: e515cf70d85b98e74c4efa22b9e1547fee5cd05a
This commit is contained in:
Robby Findler 2004-02-04 18:00:18 +00:00
parent e0dd79a1cd
commit af279647b2

View File

@ -322,6 +322,11 @@
[(text) (load-txt-keywords doc)]
[else null])]
[add-key-choice (lambda (v)
(when (and (pair? v)
(pair? (cdr v))
(pair? (cddr v))
(pair? (cdddr v))
(pair? (cddddr v)))
(found "keyword entries")
(add-choice
(car v) ; key
@ -334,7 +339,7 @@
file
(build-path doc file))))
(list-ref v 3) ; label
ckey))])
ckey)))])
(unless regexp?
(for-each
(lambda (v)
@ -358,6 +363,9 @@
[add-index-choice (lambda (name desc)
(case doc-kind
[(html)
(when (and (pair? desc)
(pair? (cdr desc))
(pair? (cddr desc)))
(found "index entries")
(add-choice
"" name
@ -367,7 +375,7 @@
filename
(combine-path/url-path doc filename)))
(list-ref desc 1)
ckey)]
ckey))]
[(text)
(found "index entries")
(add-choice