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
commit603d0c7e0a59762ff35bcff54ad6910f30d871eb (patch)
tree3b01e873f95f18b12e641e0bafb927ecda9efc04
parentc1292d42aab5b8ac1026dbcb0b873927ab4e7b70 (diff)
downloadtxr-603d0c7e0a59762ff35bcff54ad6910f30d871eb.tar.gz
txr-603d0c7e0a59762ff35bcff54ad6910f30d871eb.tar.bz2
txr-603d0c7e0a59762ff35bcff54ad6910f30d871eb.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 .