diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-07-11 22:44:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-07-11 22:44:31 -0700 |
commit | afe3787a368ec6753ed9a69867b943a3238d5796 (patch) | |
tree | d934fc2dbb002fc9aa6bb1496ffe2c611ce73794 | |
parent | 92cd494a7f37c449accf7322d2109e848f4a575d (diff) | |
download | txr-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.1 | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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.) |