summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-11 22:44:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-11 22:44:31 -0700
commitafe3787a368ec6753ed9a69867b943a3238d5796 (patch)
treed934fc2dbb002fc9aa6bb1496ffe2c611ce73794
parent92cd494a7f37c449accf7322d2109e848f4a575d (diff)
downloadtxr-afe3787a368ec6753ed9a69867b943a3238d5796.tar.gz
txr-afe3787a368ec6753ed9a69867b943a3238d5796.tar.bz2
txr-afe3787a368ec6753ed9a69867b943a3238d5796.zip
doc: :vars not vars.
* txr.1: Fix text under gather and collect directive wrongly referring to :vars keyword as just vars in the plain font.
-rw-r--r--txr.19
1 files changed, 6 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 3ca70528..6f7e9f1f 100644
--- a/txr.1
+++ b/txr.1
@@ -5092,8 +5092,9 @@ The
.code gather
directive accepts the keyword parameter
.codn :vars .
-The argument to vars is
-a list of required and optional variables. A required variable is specified
+The argument to
+.code :vars
+is a list of required and optional variables. A required variable is specified
as a symbol. An optional variable is specified as a two element list which
pairs a symbol with a Lisp expression. That Lisp expression is evaluated
and specifies the default value for the variable.
@@ -5628,7 +5629,9 @@ The default values are expressions, and so can be quasiliterals.
Lastly, if in the event that
.code collect
does not match anything, the variables
-specified in vars (whether or not they have a default value) are all bound to
+specified in
+.code :vars
+(whether or not they have a default value) are all bound to
empty lists. (These bindings are established after the processing of the
.cod3 until / last
last clause, if present.)