make hash-lang delayed so that scribble/manual doesn't directly depend on scribblings/guide

svn: r8260

original commit: 57d173e6267d3ee93b4b9b8ef134ef19cc444cdc
This commit is contained in:
Matthew Flatt 2008-01-08 18:15:06 +00:00
parent e0a59049e5
commit d3c27f4d56
2 changed files with 11 additions and 8 deletions

View File

@ -49,7 +49,7 @@
#'here
`(unsyntax (make-element
#f
(list hash-lang
(list (hash-lang)
(hspace 1)
(as-modname-link
',#'lang
@ -140,7 +140,7 @@
(list (make-paragraph
(if lang?
(list (hspace 1)
hash-lang
(hash-lang)
(hspace 1)
(make-defschememodname name))
(list
@ -1794,12 +1794,12 @@
c)))
(provide pidefterm)
(define hash-lang (make-link-element
"schememodlink"
(list (schememodfont "#lang"))
`(part ,(doc-prefix '(lib "scribblings/guide/guide.scrbl")
"hash-lang"))))
(provide hash-lang)
(define (hash-lang) (make-link-element
"schememodlink"
(list (schememodfont "#lang"))
`(part ,(doc-prefix '(lib "scribblings/guide/guide.scrbl")
"hash-lang"))))
;; ----------------------------------------

View File

@ -821,6 +821,9 @@ Returns @scheme[#t] if @scheme[v] is a bibliography entry created by
@defthing[PLaneT string?]{@scheme["PLaneT"] (to help make sure you get
the letters in the right case).}
@defproc[(hash-lang) element?]{Returns an element for @hash-lang[]
that is hyperlinked to an explanation.}
@defthing[void-const element?]{Returns an element for @|void-const|.}
@defthing[undefined-const element?]{Returns an element for @|undefined-const|.}