# HG changeset patch # User Luc Teirlinck # Date 1115002050 0 # Node ID 846493e4a4fae71c2cf06fd30f2b59b3b741053b # Parent 6c922177fe356120e96b01d273b9d129de9a7439 (Variable Aliases): `make-obsolete-variable' is a function and not a macro. diff -r 6c922177fe35 -r 846493e4a4fa lispref/variables.texi --- a/lispref/variables.texi Mon May 02 02:46:13 2005 +0000 +++ b/lispref/variables.texi Mon May 02 02:47:30 2005 +0000 @@ -1719,8 +1719,8 @@ 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 +@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,7 +1729,7 @@ 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 +@end defun You can make two variables synonyms and declare one obsolete at the same time using the macro @code{define-obsolete-variable-alias}.