fixed up confused get-metadata arity

svn: r12190
This commit is contained in:
Robby Findler 2008-10-31 02:48:27 +00:00
parent 92dcfca644
commit a398630230
2 changed files with 6 additions and 2 deletions

View File

@ -517,7 +517,7 @@
(use-namespace-require/copy-from-setting? setting)))
(define/public (extra-repl-information _1 _2) (void))
(define/public (get-reader-module) #f)
(define/public (get-metadata a b c) #f)
(define/public (get-metadata a b) #f)
(define/public (metadata->settings m) #f)
(define/public (get-metadata-lines) #f)

View File

@ -791,7 +791,7 @@ to this url.
}}
@defmethod[(get-metadata)
@defmethod[(get-metadata [modname symbol?] [settings any/c])
string?]{
This method is only called when
@ -806,6 +806,10 @@ opened in DrScheme.
The string is expect to be a prefix to the file that sets up
a reader for files in this language, using @tt{#reader}.
The @scheme[modname] argument's printed form is the same as the file's
name, but without the path, and without an extension. The
@scheme[settings] argument is the current language's settings value.
See also
@method[drscheme:language:language<%> metadata->settings],
@method[drscheme:language:language<%> get-metadata-lines], and