diff options
author | Andy Wingo <wingo@pobox.com> | 2013-03-07 11:29:01 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-07 11:29:01 +0100 |
commit | 8d48877d2cacebeb1352404b0e2514a60416c8a4 (patch) | |
tree | 0e682f6be50a49f7defeeb9e93f4fc06a0b5df16 /doc/ref/scheme-using.texi | |
parent | 83dce818ec912def820808c059ee6f9c3801585e (diff) | |
download | guile-8d48877d2cacebeb1352404b0e2514a60416c8a4.tar.gz |
,option evaluates its right-hand-side
* doc/ref/scheme-using.texi (System Commands): Better documentation for
,option.
* module/system/repl/command.scm (option): Evaluate the RHS when setting
an option. Fixes bug 13076.
Diffstat (limited to 'doc/ref/scheme-using.texi')
-rw-r--r-- | doc/ref/scheme-using.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/ref/scheme-using.texi b/doc/ref/scheme-using.texi index e0f91af02..81576605b 100644 --- a/doc/ref/scheme-using.texi +++ b/doc/ref/scheme-using.texi @@ -430,8 +430,11 @@ Garbage collection. Display statistics. @end deffn -@deffn {REPL Command} option [key value] -List/show/set options. +@deffn {REPL Command} option [name] [exp] +With no arguments, lists all options. With one argument, shows the +current value of the @var{name} option. With two arguments, sets the +@var{name} option to the result of evaluating the Scheme expression +@var{exp}. @end deffn @deffn {REPL Command} quit |