aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-11-10 16:20:51 -0800
committerGlenn Morris2012-11-10 16:20:51 -0800
commit6efddf785187007804e677c3834b9d6ab18ffc86 (patch)
treeb6800291f298f058daef9886ff6ef0a5cfd0edca
parent418b1830241ccc5ce4e3574c80d714ec0427fa4c (diff)
downloademacs-6efddf785187007804e677c3834b9d6ab18ffc86.tar.gz
emacs-6efddf785187007804e677c3834b9d6ab18ffc86.zip
Formatting tweak for variables.texi
* doc/lispref/variables.texi (Adding Generalized Variables): Use standard formatting for common lisp note about setf functions.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/variables.texi20
2 files changed, 16 insertions, 9 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index eba44b5743d..9dd833a4328 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12012-11-11 Glenn Morris <rgm@gnu.org>
2
3 * variables.texi (Adding Generalized Variables):
4 Use standard formatting for common lisp note about setf functions.
5
12012-11-07 Martin Rudalics <rudalics@gmx.at> 62012-11-07 Martin Rudalics <rudalics@gmx.at>
2 7
3 * elisp.texi (Top): Add Recombining Windows to menu. 8 * elisp.texi (Top): Add Recombining Windows to menu.
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index c8451527d4f..814c5e2dd1c 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -2141,12 +2141,14 @@ This is the most general way to define a new @code{setf} expansion.
2141@end ignore 2141@end ignore
2142 2142
2143@cindex CL note---no @code{setf} functions 2143@cindex CL note---no @code{setf} functions
2144Common Lisp defines another way to specify the @code{setf} behavior of 2144@quotation
2145a function, namely ``@code{setf} functions'', whose names are lists 2145@b{Common Lisp note:} Common Lisp defines another way to specify the
2146@code{(setf @var{name})} rather than symbols. For example, 2146@code{setf} behavior of a function, namely ``@code{setf} functions'',
2147@code{(defun (setf foo) @dots{})} defines the function that is used 2147whose names are lists @code{(setf @var{name})} rather than symbols.
2148when @code{setf} is applied to @code{foo}. Emacs does not support 2148For example, @code{(defun (setf foo) @dots{})} defines the function
2149this. It is a compile-time error to use @code{setf} on a form that 2149that is used when @code{setf} is applied to @code{foo}. Emacs does
2150has not already had an appropriate expansion defined. In Common Lisp, 2150not support this. It is a compile-time error to use @code{setf} on a
2151this is not an error since the function @code{(setf @var{func})} might 2151form that has not already had an appropriate expansion defined. In
2152be defined later. 2152Common Lisp, this is not an error since the function @code{(setf
2153@var{func})} might be defined later.
2154@end quotation