fixed up confused get-metadata arity
svn: r12190
This commit is contained in:
parent
92dcfca644
commit
a398630230
|
@ -517,7 +517,7 @@
|
||||||
(use-namespace-require/copy-from-setting? setting)))
|
(use-namespace-require/copy-from-setting? setting)))
|
||||||
(define/public (extra-repl-information _1 _2) (void))
|
(define/public (extra-repl-information _1 _2) (void))
|
||||||
(define/public (get-reader-module) #f)
|
(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 (metadata->settings m) #f)
|
||||||
(define/public (get-metadata-lines) #f)
|
(define/public (get-metadata-lines) #f)
|
||||||
|
|
||||||
|
|
|
@ -791,7 +791,7 @@ to this url.
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
@defmethod[(get-metadata)
|
@defmethod[(get-metadata [modname symbol?] [settings any/c])
|
||||||
string?]{
|
string?]{
|
||||||
|
|
||||||
This method is only called when
|
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
|
The string is expect to be a prefix to the file that sets up
|
||||||
a reader for files in this language, using @tt{#reader}.
|
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
|
See also
|
||||||
@method[drscheme:language:language<%> metadata->settings],
|
@method[drscheme:language:language<%> metadata->settings],
|
||||||
@method[drscheme:language:language<%> get-metadata-lines], and
|
@method[drscheme:language:language<%> get-metadata-lines], and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user