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.
This commit is contained in:
parent
b6a66c21fc
commit
1233b38393
4 changed files with 29 additions and 36 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue