diff options
| author | Glenn Morris | 2012-11-06 20:37:07 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-06 20:37:07 -0800 |
| commit | 2ee1d59f5bea4a206595d621dcb63477461b7155 (patch) | |
| tree | 11e77e75f9dd809295149af72e46b8044675b899 /doc/misc | |
| parent | b715ed4447b025d713fc68a7af3728c2d463974b (diff) | |
| download | emacs-2ee1d59f5bea4a206595d621dcb63477461b7155.tar.gz emacs-2ee1d59f5bea4a206595d621dcb63477461b7155.zip | |
Small doc updates for generalized variables
* lisp/emacs-lisp/gv.el (gv-letplace): Fix doc typo.
(gv-define-simple-setter): Update doc of `fix-return'.
* doc/lispref/variables.texi (Adding Generalized Variables):
Update description of FIX-RETURN expansion.
* doc/misc/cl.texi (Obsolete Setf Customization):
Revert defsetf example to the more correct let rather than prog1.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index bd815e3df9f..49f86ef093b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-11-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * cl.texi (Obsolete Setf Customization): | ||
| 4 | Revert defsetf example to the more correct let rather than prog1. | ||
| 5 | |||
| 1 | 2012-11-06 Glenn Morris <rgm@gnu.org> | 6 | 2012-11-06 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * cl.texi (Overview): Mention EIEIO here, as well as the appendix. | 8 | * cl.texi (Overview): Mention EIEIO here, as well as the appendix. |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index a5a696b6b16..e39186c1222 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -4950,9 +4950,8 @@ is completely irregular. | |||
| 4950 | @end defmac | 4950 | @end defmac |
| 4951 | 4951 | ||
| 4952 | @defmac defsetf access-fn update-fn | 4952 | @defmac defsetf access-fn update-fn |
| 4953 | This is the simpler of two @code{defsetf} forms, and is entirely | 4953 | This is the simpler of two @code{defsetf} forms, and is |
| 4954 | obsolete, being replaced by @code{gv-define-simple-setter} in Emacs | 4954 | replaced by @code{gv-define-simple-setter} in Emacs 24.3. |
| 4955 | 24.3. | ||
| 4956 | @xref{Adding Generalized Variables,,,elisp,GNU Emacs Lisp Reference Manual}. | 4955 | @xref{Adding Generalized Variables,,,elisp,GNU Emacs Lisp Reference Manual}. |
| 4957 | 4956 | ||
| 4958 | Where @var{access-fn} is the name of a function that accesses a place, | 4957 | Where @var{access-fn} is the name of a function that accesses a place, |
| @@ -4983,8 +4982,9 @@ not suitable, so that the above @code{setf} should be expanded to | |||
| 4983 | something more like | 4982 | something more like |
| 4984 | 4983 | ||
| 4985 | @example | 4984 | @example |
| 4986 | (prog1 @var{value} | 4985 | (let ((temp @var{value})) |
| 4987 | (@var{update-fn} @var{arg1} @var{arg2} @var{arg3} @var{value})) | 4986 | (@var{update-fn} @var{arg1} @var{arg2} @var{arg3} temp) |
| 4987 | temp) | ||
| 4988 | @end example | 4988 | @end example |
| 4989 | 4989 | ||
| 4990 | Some examples are: | 4990 | Some examples are: |