diff options
| author | Glenn Morris | 2012-11-10 16:20:51 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-10 16:20:51 -0800 |
| commit | 6efddf785187007804e677c3834b9d6ab18ffc86 (patch) | |
| tree | b6800291f298f058daef9886ff6ef0a5cfd0edca | |
| parent | 418b1830241ccc5ce4e3574c80d714ec0427fa4c (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 20 |
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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-11-07 Martin Rudalics <rudalics@gmx.at> | 6 | 2012-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 |
| 2144 | Common Lisp defines another way to specify the @code{setf} behavior of | 2144 | @quotation |
| 2145 | a 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 | 2147 | whose names are lists @code{(setf @var{name})} rather than symbols. |
| 2148 | when @code{setf} is applied to @code{foo}. Emacs does not support | 2148 | For example, @code{(defun (setf foo) @dots{})} defines the function |
| 2149 | this. It is a compile-time error to use @code{setf} on a form that | 2149 | that is used when @code{setf} is applied to @code{foo}. Emacs does |
| 2150 | has not already had an appropriate expansion defined. In Common Lisp, | 2150 | not support this. It is a compile-time error to use @code{setf} on a |
| 2151 | this is not an error since the function @code{(setf @var{func})} might | 2151 | form that has not already had an appropriate expansion defined. In |
| 2152 | be defined later. | 2152 | Common Lisp, this is not an error since the function @code{(setf |
| 2153 | @var{func})} might be defined later. | ||
| 2154 | @end quotation | ||