]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix reference to `defvaralias' as a macro.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 16 Jul 2002 11:43:32 +0000 (11:43 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 16 Jul 2002 11:43:32 +0000 (11:43 +0000)
etc/NEWS
lispref/variables.texi

index b6babdcf61f2352e0c71aa43effedd98cfe2e3fd..d3089900ac9cd3fec7d1857f2b987b0e7d5cf8f4 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1517,12 +1517,12 @@ searching for an executable resp. an elisp file.
 
 ** Variable aliases have been implemented:
 
-- Macro: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING]
+- Function: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING]
 
-This defines the symbol ALIAS-VAR as a variable alias for symbol
-BASE-VAR.  This means that retrieving the value of ALIAS-VAR returns
-the value of BASE-VAR, and changing the value of ALIAS-VAR changes the
-value of BASE-VAR.
+This function defines the symbol ALIAS-VAR as a variable alias for
+symbol BASE-VAR.  This means that retrieving the value of ALIAS-VAR
+returns the value of BASE-VAR, and changing the value of ALIAS-VAR
+changes the value of BASE-VAR.
 
 DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has
 the same documentation as BASE-VAR.
index c45599a92b669fc3c82b4f3e63fed3d5c111091f..dbb4f730245d686a7cd65f420152d34c00522058 100644 (file)
@@ -1676,7 +1676,7 @@ chosen, or because its meaning has partly changed---it can be useful
 to keep the old name as an @emph{alias} of the new one for
 compatibility.  You can do this with @code{defvaralias}.
 
-@defmac defvaralias alias-var base-var [docstring]
+@defun defvaralias alias-var base-var [docstring]
 This function defines the symbol @var{alias-var} as a variable alias
 for symbol @var{base-var}. This means that retrieving the value of
 @var{alias-var} returns the value of @var{base-var}, and changing the
@@ -1685,7 +1685,7 @@ value of @var{alias-var} changes the value of @var{base-var}.
 If the @var{docstring} argument is present, it specifies the documentation for
 @var{alias-var}; otherwise, it has the same documentation as @var{base-var},
 if any.
-@end defmac
+@end defun
 
 @defun indirect-variable variable
 This function returns the variable at the end of the chain of aliases