From 95ed2b9f8f837b6dbb31a44daa40c3055ca3ffcd Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 11 Jul 2017 22:44:31 -0700 Subject: 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. --- txr.1 | 9 ++++++--- 1 file 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.) -- cgit v1.2.3