diff options
| author | Glenn Morris | 2012-11-12 00:23:23 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-12 00:23:23 -0800 |
| commit | a13e12f95726b8a99fc94412ad3f16b88bbd18ad (patch) | |
| tree | c186a7b5738f4cfa356448c1ef4467bdb581074a | |
| parent | adad6d8f2769e32cbbe9fe785cfef021b48cd140 (diff) | |
| download | emacs-a13e12f95726b8a99fc94412ad3f16b88bbd18ad.tar.gz emacs-a13e12f95726b8a99fc94412ad3f16b88bbd18ad.zip | |
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.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 14 |
2 files changed, 13 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 9d101722388..eabfc6e9c78 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-11-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * variables.texi (Adding Generalized Variables): | ||
| 4 | At least mention gv-define-expander and gv-letplace. | ||
| 5 | |||
| 1 | 2012-11-11 Glenn Morris <rgm@gnu.org> | 6 | 2012-11-11 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * debugging.texi (Error Debugging): Mention debug-on-message. | 8 | * debugging.texi (Error Debugging): Mention debug-on-message. |
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: | |||
| 2133 | @end example | 2133 | @end example |
| 2134 | @end defmac | 2134 | @end defmac |
| 2135 | 2135 | ||
| 2136 | @c FIXME? Not sure what, if anything, to say about this. | 2136 | @findex gv-define-expander |
| 2137 | @ignore | 2137 | @findex gv-letplace |
| 2138 | @defmac gv-define-expander name handler | 2138 | @c FIXME? Not sure what or how much to say about these. |
| 2139 | This is the most general way to define a new @code{setf} expansion. | 2139 | @c See cl.texi for an example of using gv-letplace. |
| 2140 | @end defmac | 2140 | For more control over the expansion, see the macro @code{gv-define-expander}. |
| 2141 | @end ignore | 2141 | The macro @code{gv-letplace} can be useful in defining macros that |
| 2142 | perform similarly to @code{setf}; for example, the @code{incf} macro | ||
| 2143 | of Common Lisp. Consult the source file @file{gv.el} for more details. | ||
| 2142 | 2144 | ||
| 2143 | @cindex CL note---no @code{setf} functions | 2145 | @cindex CL note---no @code{setf} functions |
| 2144 | @quotation | 2146 | @quotation |