From 603d0c7e0a59762ff35bcff54ad6910f30d871eb Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 7 Jul 2017 07:06:33 -0700 Subject: 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 ) syntax. --- txr.1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 . -- cgit v1.2.3