/[emacs]/emacs/lispref/variables.texi
ViewVC logotype

Diff of /emacs/lispref/variables.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.57 by rms, Tue Apr 26 10:56:21 2005 UTC revision 1.58 by teirllm, Mon May 2 02:47:30 2005 UTC
# Line 1719  variable with a new name.  @code{make-ob Line 1719  variable with a new name.  @code{make-ob
1719  the old name is obsolete and therefore that it may be removed at some  the old name is obsolete and therefore that it may be removed at some
1720  stage in the future.  stage in the future.
1721    
1722  @defmac make-obsolete-variable variable new &optional when  @defun make-obsolete-variable variable new &optional when
1723  This macro makes the byte-compiler warn that the variable  This function makes the byte-compiler warn that the variable
1724  @var{variable} is obsolete.  If @var{new} is a symbol, it is the  @var{variable} is obsolete.  If @var{new} is a symbol, it is the
1725  variable's new name; then the warning message says to use @var{new}  variable's new name; then the warning message says to use @var{new}
1726  instead of @var{variable}.  If @var{new} is a string, this is the  instead of @var{variable}.  If @var{new} is a string, this is the
# Line 1729  message and there is no replacement vari Line 1729  message and there is no replacement vari
1729  If provided, @var{when} should be a string indicating when the  If provided, @var{when} should be a string indicating when the
1730  variable was first made obsolete---for example, a date or a release  variable was first made obsolete---for example, a date or a release
1731  number.  number.
1732  @end defmac  @end defun
1733    
1734  You can make two variables synonyms and declare one obsolete at the  You can make two variables synonyms and declare one obsolete at the
1735  same time using the macro @code{define-obsolete-variable-alias}.  same time using the macro @code{define-obsolete-variable-alias}.

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26