Mercurial > emacs
diff lispref/functions.texi @ 63583:99e9892a51d9
Fix formatting ugliness.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 18 Jun 2005 13:57:17 +0000 |
parents | f0e4b6c7de96 |
children | e836425ee789 b7da78284d4c |
line wrap: on
line diff
--- a/lispref/functions.texi Sat Jun 18 13:53:26 2005 +0000 +++ b/lispref/functions.texi Sat Jun 18 13:57:17 2005 +0000 @@ -525,9 +525,9 @@ @var{name}. It returns the value @var{name}, but usually we ignore this value. -As described previously (@pxref{Lambda Expressions}), -@var{argument-list} is a list of argument names and may include the -keywords @code{&optional} and @code{&rest}. Also, the first two of the +As described previously, @var{argument-list} is a list of argument +names and may include the keywords @code{&optional} and @code{&rest} +(@pxref{Lambda Expressions}). Also, the first two of the @var{body-forms} may be a documentation string and an interactive declaration. @@ -1174,20 +1174,13 @@ same time using the macro @code{define-obsolete-function-alias}. @defmac define-obsolete-function-alias obsolete-name current-name &optional when docstring -This macro marks the function @var{obsolete-name} obsolete and also defines -it as an alias for the function @var{current-name}. A typical call has the -form: +This macro marks the function @var{obsolete-name} obsolete and also +defines it as an alias for the function @var{current-name}. It is +equivalent to the following: @example -(define-obsolete-function-alias 'old-fun 'new-fun "22.1" "Doc.") -@end example - -@noindent -which is equivalent to the following two lines of code: - -@example -(defalias 'old-fun 'new-fun "Doc.") -(make-obsolete 'old-fun 'new-fun "22.1") +(defalias @var{obsolete-name} @var{current-name} @var{docstring}) +(make-obsolete @var{obsolete-name} @var{current-name} @var{when}) @end example @end defmac