summaryrefslogtreecommitdiff
path: root/doc/lispref/variables.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-11-12 00:23:23 -0800
committerGlenn Morris <rgm@gnu.org>2012-11-12 00:23:23 -0800
commita13e12f95726b8a99fc94412ad3f16b88bbd18ad (patch)
treec186a7b5738f4cfa356448c1ef4467bdb581074a /doc/lispref/variables.texi
parentadad6d8f2769e32cbbe9fe785cfef021b48cd140 (diff)
downloademacs-a13e12f95726b8a99fc94412ad3f16b88bbd18ad.tar.gz
Mention a few more gv.el features in the lispref
* doc/lispref/variables.texi (Adding Generalized Variables): At least mention gv-define-expander and gv-letplace.
Diffstat (limited to 'doc/lispref/variables.texi')
-rw-r--r--doc/lispref/variables.texi14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 814c5e2dd1c..dfde3c45c04 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -2133,12 +2133,14 @@ set. An example of using this macro is:
@end example
@end defmac
-@c FIXME? Not sure what, if anything, to say about this.
-@ignore
-@defmac gv-define-expander name handler
-This is the most general way to define a new @code{setf} expansion.
-@end defmac
-@end ignore
+@findex gv-define-expander
+@findex gv-letplace
+@c FIXME? Not sure what or how much to say about these.
+@c See cl.texi for an example of using gv-letplace.
+For more control over the expansion, see the macro @code{gv-define-expander}.
+The macro @code{gv-letplace} can be useful in defining macros that
+perform similarly to @code{setf}; for example, the @code{incf} macro
+of Common Lisp. Consult the source file @file{gv.el} for more details.
@cindex CL note---no @code{setf} functions
@quotation