Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ca5ade2f
Commit
ca5ade2f
authored
May 02, 2005
by
Luc Teirlinck
Browse files
(Variable Aliases): `make-obsolete-variable' is a function and not a macro.
parent
3b925015
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lispref/variables.texi
lispref/variables.texi
+3
-3
No files found.
lispref/variables.texi
View file @
ca5ade2f
...
...
@@ -1719,8 +1719,8 @@ variable with a new name. @code{make-obsolete-variable} declares that
the old name is obsolete and therefore that it may be removed at some
stage in the future.
@def
mac
make-obsolete-variable variable new &optional when
This
macro
makes the byte-compiler warn that the variable
@def
un
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 @@ message and there is no replacement variable.
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 def
mac
@end def
un
You can make two variables synonyms and declare one obsolete at the
same time using the macro @code{define-obsolete-variable-alias}.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment