Mercurial > hg > xemacs-beta
comparison man/lispref/macros.texi @ 5361:62b9ef1ed4ac
Change "special form" to "special operator" in the manuals, too
2011-03-01 Aidan Kehoe <kehoea@parhasard.net>
* lispref/commands.texi (Using Interactive):
* lispref/compile.texi (Eval During Compile):
* lispref/compile.texi (Compiled-Function Objects):
* lispref/control.texi (Sequencing):
* lispref/control.texi (Conditionals):
* lispref/control.texi (Combining Conditions):
* lispref/control.texi (Iteration):
* lispref/control.texi (Catch and Throw):
* lispref/control.texi (Handling Errors):
* lispref/control.texi (Cleanups):
* lispref/display.texi (Temporary Displays):
* lispref/eval.texi (Quoting):
* lispref/eval.texi (Multiple values):
* lispref/frames.texi (Input Focus):
* lispref/functions.texi (Argument List):
* lispref/functions.texi (Defining Functions):
* lispref/functions.texi (Anonymous Functions):
* lispref/internationalization.texi (Level 3 Primitives):
* lispref/internationalization.texi (Domain Specification):
* lispref/intro.texi (A Sample Function Description):
* lispref/intro.texi (A Sample Variable Description):
* lispref/lists.texi (Sets And Lists):
* lispref/macros.texi (Defining Macros):
* lispref/macros.texi (Backquote):
* lispref/positions.texi (Excursions):
* lispref/positions.texi (Narrowing):
* lispref/searching.texi (Saving Match Data):
* lispref/sequences.texi (Sequence Functions):
* lispref/sequences.texi (Array Functions):
* lispref/specifiers.texi (Adding Specifications):
* lispref/variables.texi (Local Variables):
* lispref/variables.texi (Defining Variables):
* lispref/variables.texi (Setting Variables):
* lispref/variables.texi (Default Value):
* lispref/windows.texi (Selecting Windows):
* lispref/windows.texi (Window Configurations):
No longer use @defspec, since we no longer use the term "special
form"; instead use @deffn {Special Operator}. Unfortunately
there's no way in texinfo to redefine @defspec in one place.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 01 Mar 2011 14:18:45 +0000 |
parents | 755ae5b97edb |
children | 289cf21be887 |
comparison
equal
deleted
inserted
replaced
5359:f5a5501814f5 | 5361:62b9ef1ed4ac |
---|---|
210 @end example | 210 @end example |
211 | 211 |
212 In practice, almost all Lisp macros have names, and they are usually | 212 In practice, almost all Lisp macros have names, and they are usually |
213 defined with the special operator @code{defmacro}. | 213 defined with the special operator @code{defmacro}. |
214 | 214 |
215 @defspec defmacro name argument-list body-forms@dots{} | 215 @deffn {Special Operator} defmacro name argument-list body-forms@dots{} |
216 @code{defmacro} defines the symbol @var{name} as a macro that looks | 216 @code{defmacro} defines the symbol @var{name} as a macro that looks |
217 like this: | 217 like this: |
218 | 218 |
219 @example | 219 @example |
220 (macro lambda @var{argument-list} . @var{body-forms}) | 220 (macro lambda @var{argument-list} . @var{body-forms}) |
227 The shape and meaning of @var{argument-list} is the same as in a | 227 The shape and meaning of @var{argument-list} is the same as in a |
228 function, and the keywords @code{&rest} and @code{&optional} may be used | 228 function, and the keywords @code{&rest} and @code{&optional} may be used |
229 (@pxref{Argument List}). Macros may have a documentation string, but | 229 (@pxref{Argument List}). Macros may have a documentation string, but |
230 any @code{interactive} declaration is ignored since macros cannot be | 230 any @code{interactive} declaration is ignored since macros cannot be |
231 called interactively. | 231 called interactively. |
232 @end defspec | 232 @end deffn |
233 | 233 |
234 @node Backquote | 234 @node Backquote |
235 @section Backquote | 235 @section Backquote |
236 @cindex backquote (list substitution) | 236 @cindex backquote (list substitution) |
237 @cindex ` (list substitution) | 237 @cindex ` (list substitution) |