summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-17 07:59:31 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-17 07:59:31 -0800
commit26fc85257a9c20435e6f5e2bd9b728659478e406 (patch)
tree45fbf394defbfaf9520cf9e826876767d235198f
parente45772713089105c776556655d671102375d9a72 (diff)
downloadtxr-26fc85257a9c20435e6f5e2bd9b728659478e406.tar.gz
txr-26fc85257a9c20435e6f5e2bd9b728659478e406.tar.bz2
txr-26fc85257a9c20435e6f5e2bd9b728659478e406.zip
doc: fix misleading @(call @'foo).
* txr.1: The documentation wrongly refers to @(call @'foo) which hasn't worked that way since version 144. The first argument is a Lisp expression.
-rw-r--r--txr.113
1 files changed, 4 insertions, 9 deletions
diff --git a/txr.1 b/txr.1
index 84c25462..26cacafc 100644
--- a/txr.1
+++ b/txr.1
@@ -8528,7 +8528,7 @@ Function indirection may be performed using the
.code call
directive. If
.meta fun-expr
-is an expression which evaluates to a symbol, and
+is an Lisp expression which evaluates to a symbol, and
that symbol names a function which takes no arguments, then
.verb
@(call fun-expr)
@@ -8542,7 +8542,7 @@ Example 1:
\ @(define foo (arg))
@(bind arg "abc")
@(end)
- @(call @'foo b)
+ @(call 'foo b)
.onom
In this example, the effect is that
@@ -8555,14 +8555,9 @@ ends up bound to
The
.code call
directive here uses the
-.code @'foo
-expression to calculate the name of the function to be invoked.
-The
-.code @
-symbol indicates that the expression which follows is \*(TL ,
-and
.code 'foo
-is the \*(TL syntax for quoting a symbol. (See the
+expression to calculate the name of the function to be invoked.
+(See the
.code quote
operator).