doc fixes
svn: r7832 original commit: 5f312dcbde3ed674c3af3d4d5ded23eb1a93ebc8
This commit is contained in:
parent
a37f952769
commit
fa7ad5be3c
|
@ -429,7 +429,7 @@ Snip class objects can be added to the eventspace-specific
|
|||
|
||||
If a snip class's name is of the form @scheme["(lib ...)"], then the
|
||||
snip class implementation can be loaded on demand. The name is parsed
|
||||
using @scheme[read]; if the result has the form @scheme[(libKW string
|
||||
using @scheme[read]; if the result has the form @scheme[(lib _string
|
||||
...)], then it is supplied to @scheme[dynamic-require] along with
|
||||
@scheme['snip-class]. If the result is a @scheme[snip-class%] object,
|
||||
it is inserted into the current eventspace's snip class list, and
|
||||
|
|
|
@ -47,7 +47,10 @@ To define a class of snips that can be saved or cut-and-pasted:
|
|||
@itemize{
|
||||
|
||||
@item{Create an instance of @scheme[snip-class%], implementing the
|
||||
@method[snip-class% read] method.}
|
||||
@method[snip-class% read] method. Export the
|
||||
@scheme[snip-class%] instance as @scheme[snip-class] from a
|
||||
module, and use a classname of the form @scheme["(lib ...)"] as
|
||||
described in @|snipclassdiscuss|.}
|
||||
|
||||
@item{For each instance of the snip class, set the snip's class object
|
||||
with @method[snip% set-snipclass].}
|
||||
|
|
Loading…
Reference in New Issue
Block a user