[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/functions.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/functions.texi |
Date: |
Sat, 18 Jun 2005 09:50:04 -0400 |
Index: emacs/lispref/functions.texi
diff -c emacs/lispref/functions.texi:1.32 emacs/lispref/functions.texi:1.33
*** emacs/lispref/functions.texi:1.32 Wed Jun 15 23:09:44 2005
--- emacs/lispref/functions.texi Sat Jun 18 13:50:04 2005
***************
*** 525,533 ****
@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
@var{body-forms} may be a documentation string and an interactive
declaration.
--- 525,533 ----
@var{name}. It returns the value @var{name}, but usually we ignore this
value.
! 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,1193 ****
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:
@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")
@end example
@end defmac
--- 1174,1186 ----
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}. It is
! equivalent to the following:
@example
! (defalias @var{obsolete-name} @var{current-name} @var{docstring})
! (make-obsolete @var{obsolete-name} @var{current-name} @var{when})
@end example
@end defmac