Index: emacs/lispref/variables.texi
diff -c emacs/lispref/variables.texi:1.57 emacs/lispref/variables.texi:1.58
*** emacs/lispref/variables.texi:1.57 Tue Apr 26 10:56:21 2005
--- emacs/lispref/variables.texi Mon May 2 02:47:30 2005
***************
*** 1719,1726 ****
the old name is obsolete and therefore that it may be removed at some
stage in the future.
! @defmac make-obsolete-variable variable new &optional when
! This macro makes the byte-compiler warn that the variable
@var{variable} is obsolete. If @var{new} is a symbol, it is the
variable's new name; then the warning message says to use @var{new}
instead of @var{variable}. If @var{new} is a string, this is the
--- 1719,1726 ----
the old name is obsolete and therefore that it may be removed at some
stage in the future.
! @defun make-obsolete-variable variable new &optional when
! This function makes the byte-compiler warn that the variable
@var{variable} is obsolete. If @var{new} is a symbol, it is the
variable's new name; then the warning message says to use @var{new}
instead of @var{variable}. If @var{new} is a string, this is the
***************
*** 1729,1735 ****
If provided, @var{when} should be a string indicating when the
variable was first made obsolete---for example, a date or a release
number.
! @end defmac
You can make two variables synonyms and declare one obsolete at the
same time using the macro @code{define-obsolete-variable-alias}.
--- 1729,1735 ----
If provided, @var{when} should be a string indicating when the
variable was first made obsolete---for example, a date or a release
number.
! @end defun
You can make two variables synonyms and declare one obsolete at the
same time using the macro @code{define-obsolete-variable-alias}.
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs