diff options
| author | Luc Teirlinck | 2005-05-02 02:47:30 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-02 02:47:30 +0000 |
| commit | ca5ade2f0bb132c320e093b33e3b8c5add883016 (patch) | |
| tree | 92bb2aa17b8cdaa8fc967d51211475d4fd0005a7 /lispref | |
| parent | 3b92501592dbec441d9876e65a066ed2f26be478 (diff) | |
| download | emacs-ca5ade2f0bb132c320e093b33e3b8c5add883016.tar.gz emacs-ca5ade2f0bb132c320e093b33e3b8c5add883016.zip | |
(Variable Aliases): `make-obsolete-variable' is a function and not a macro.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/variables.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi index 7320a2eea9f..c8cc8d50f82 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1719,8 +1719,8 @@ variable with a new name. @code{make-obsolete-variable} declares that | |||
| 1719 | the old name is obsolete and therefore that it may be removed at some | 1719 | the old name is obsolete and therefore that it may be removed at some |
| 1720 | stage in the future. | 1720 | stage in the future. |
| 1721 | 1721 | ||
| 1722 | @defmac make-obsolete-variable variable new &optional when | 1722 | @defun make-obsolete-variable variable new &optional when |
| 1723 | This macro makes the byte-compiler warn that the variable | 1723 | This function makes the byte-compiler warn that the variable |
| 1724 | @var{variable} is obsolete. If @var{new} is a symbol, it is the | 1724 | @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} | 1725 | 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 | 1726 | instead of @var{variable}. If @var{new} is a string, this is the |
| @@ -1729,7 +1729,7 @@ message and there is no replacement variable. | |||
| 1729 | If provided, @var{when} should be a string indicating when the | 1729 | If provided, @var{when} should be a string indicating when the |
| 1730 | variable was first made obsolete---for example, a date or a release | 1730 | variable was first made obsolete---for example, a date or a release |
| 1731 | number. | 1731 | number. |
| 1732 | @end defmac | 1732 | @end defun |
| 1733 | 1733 | ||
| 1734 | You can make two variables synonyms and declare one obsolete at the | 1734 | You can make two variables synonyms and declare one obsolete at the |
| 1735 | same time using the macro @code{define-obsolete-variable-alias}. | 1735 | same time using the macro @code{define-obsolete-variable-alias}. |