From fa7ad5be3c6bda411950b73c2c4e69dbcb9560f2 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 25 Nov 2007 19:48:41 +0000 Subject: [PATCH] doc fixes svn: r7832 original commit: 5f312dcbde3ed674c3af3d4d5ded23eb1a93ebc8 --- collects/scribblings/gui/editor-overview.scrbl | 2 +- collects/scribblings/gui/snip-class.scrbl | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/gui/editor-overview.scrbl b/collects/scribblings/gui/editor-overview.scrbl index 25e47b8a..a50c483c 100644 --- a/collects/scribblings/gui/editor-overview.scrbl +++ b/collects/scribblings/gui/editor-overview.scrbl @@ -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 diff --git a/collects/scribblings/gui/snip-class.scrbl b/collects/scribblings/gui/snip-class.scrbl index 75692a37..d848fbca 100644 --- a/collects/scribblings/gui/snip-class.scrbl +++ b/collects/scribblings/gui/snip-class.scrbl @@ -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].}