diff --git a/collects/syntax/scribblings/strip-context.scrbl b/collects/syntax/scribblings/strip-context.scrbl index e36bff5850..41e38b7314 100644 --- a/collects/syntax/scribblings/strip-context.scrbl +++ b/collects/syntax/scribblings/strip-context.scrbl @@ -2,7 +2,7 @@ @(require "common.ss" (for-label syntax/strip-context)) -@title[#:tag "strip-context"]{Stripping Lexical Context} +@title[#:tag "strip-context"]{Replacing Lexical Context} @defmodule[syntax/strip-context] @@ -11,7 +11,7 @@ Removes all lexical context from @scheme[stx], preserving source-location information and properties.} -@defproc[(replace-context [ctx-stx syntax?] [stx syntax?]) syntax?]{ +@defproc[(replace-context [ctx-stx (or/c syntax? #f)] [stx syntax?]) syntax?]{ Uses the lexical context of @scheme[ctx-stx] to replace the lexical context of all parts of @scheme[stx], preserving source-location