tools doc: fix use of block in an element
Also, adjust @history[] use to make the change more clear in rendered docs.
This commit is contained in:
parent
b032784417
commit
b6e4a06320
|
@ -16,7 +16,7 @@
|
|||
(language-info-def id . args)
|
||||
(language-info-def/proc 'id . args))
|
||||
|
||||
(define (language-info-def/proc sym . args)
|
||||
(define (language-info-def/proc sym arg0 . args)
|
||||
(define str (format "~s" sym))
|
||||
(apply elemtag str args))
|
||||
(list (elemtag str arg0) args))
|
||||
|
||||
|
|
|
@ -273,17 +273,17 @@ These precise colors for these identifiers are controlled by the preferences dia
|
|||
extending the default that DrRacket normally uses, namely:
|
||||
@racketblock[`(["Racket Sources" "*.rkt;*.scrbl;*.rktl;*.rktd;*.ss;*.scm"]
|
||||
["Any" "*.*"])]
|
||||
@history[#:added "1.1"]
|
||||
}
|
||||
|
||||
@language-info-def[drracket:default-extension]{
|
||||
When a language's @racket[_get-info] procedure responds to @racket['drracket:default-extension],
|
||||
it is expected to return @racket[(and/c string? (not/c #rx"[.]"))]; the result is used
|
||||
as the default extension when saving files by setting @racket[finder:default-extension].
|
||||
|
||||
@history[#:added "1.1"]
|
||||
}
|
||||
|
||||
@history[#:changed "1.1" @elem{Added support for @racket['drracket:default-filters]
|
||||
and @racket['drracket:default-extension].}]
|
||||
|
||||
@subsection{Adding Module-based Languages to DrRacket}
|
||||
|
||||
For backwards compatibility, DrRacket also supports
|
||||
|
|
Loading…
Reference in New Issue
Block a user