summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-07 07:06:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-07 07:06:33 -0700
commit5c82fb3cf931b54836a854f77710510868b21bce (patch)
tree3b01e873f95f18b12e641e0bafb927ecda9efc04
parentfcd28a690fe925492dbb82ee517e7069f47602c6 (diff)
downloadtxr-5c82fb3cf931b54836a854f77710510868b21bce.tar.gz
txr-5c82fb3cf931b54836a854f77710510868b21bce.tar.bz2
txr-5c82fb3cf931b54836a854f77710510868b21bce.zip
doc: fun operator has way to see macros.
* txr.1: Clarify an otherwise misleading text. It's true that the fun operator doesn't resolve macros via straight symbol names, but it does do so via (macro <name>) syntax.
-rw-r--r--txr.112
1 files changed, 11 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index d0d1c56c..76f38b49 100644
--- a/txr.1
+++ b/txr.1
@@ -13564,7 +13564,17 @@ operator yields that function.
Note: the
.code fun
-operator does not see macro bindings. It is possible to
+operator does not see macro bindings via their symbolic names
+with which they are defined by
+.codn defmacro .
+However, the name syntax
+.cblk
+.meti (macro << name )
+.cble
+may be used to refer to macros. This syntax is documented in the
+description of
+.codn func-get-name .
+It is also possible to
retrieve a global macro expander using the function
.codn symbol-macro .