diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-20 11:54:46 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-20 11:54:46 +0200 |
commit | 1233b38393c776d48cfc4c91d9c514ea7f3762f3 (patch) | |
tree | cd9a82096a331e98c86f69c96d70be3a770415bf /doc/ref/api-evaluation.texi | |
parent | b6a66c21fc3791bb5ea50f6e7a0ccc2e8f55e27a (diff) | |
download | guile-1233b38393c776d48cfc4c91d9c514ea7f3762f3.tar.gz |
fix documentation for option-set! syntaxen
* doc/ref/api-evaluation.texi (Scheme Read): Note that read-set! is
syntax.
(Scheme Write): Likewise for print-set!.
* doc/ref/api-io.texi (Writing): Remove reference to
print-options-interface.
* doc/ref/repl-modules.texi (Readline Options): Update, and add entries
for readline-options, readline-set! et al.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r-- | doc/ref/api-evaluation.texi | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi index 9430c744d..e87331086 100644 --- a/doc/ref/api-evaluation.texi +++ b/doc/ref/api-evaluation.texi @@ -341,10 +341,13 @@ using @code{read-set!}. @deffn {Scheme Procedure} read-enable option-name @deffnx {Scheme Procedure} read-disable option-name -@deffnx {Scheme Procedure} read-set! option-name value +@deffnx {Scheme Syntax} read-set! option-name value Modify the read options. @code{read-enable} should be used with boolean options and switches them on, @code{read-disable} switches them off. -@code{read-set!} can be used to set an option to a specific value. + +@code{read-set!} can be used to set an option to a specific value. Due +to historical oddities, it is a macro that expects an unquoted option +name. @end deffn For example, to make @code{read} fold all symbols to their lower case @@ -416,10 +419,11 @@ quote-keywordish-symbols reader How to print symbols that have a colon not '#f'. @end smalllisp -These options may be modified with the print-set! procedure. +These options may be modified with the print-set! syntax. -@deffn {Scheme Procedure} print-set! option-name value -Modify the print options. +@deffn {Scheme Syntax} print-set! option-name value +Modify the print options. Due to historical oddities, @code{print-set!} +is a macro that expects an unquoted option name. @end deffn |