1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 20:32:00 -08:00

; * doc/lispref/variables.texi: Fix define-obsolete-variable-alias arglist

The WHEN argument is not optional anymore (bug#64312)

Copyright-paperwork-exempt: yes
This commit is contained in:
Vladimir Sedach 2023-06-26 22:50:59 -06:00 committed by Eli Zaretskii
parent 162c9c058e
commit 53332bdf62

View file

@ -2589,7 +2589,7 @@ can be either @code{get} or @code{set}.
You can make two variables synonyms and declare one obsolete at the
same time using the macro @code{define-obsolete-variable-alias}.
@defmac define-obsolete-variable-alias obsolete-name current-name &optional when docstring
@defmac define-obsolete-variable-alias obsolete-name current-name when &optional docstring
This macro marks the variable @var{obsolete-name} as obsolete and also
makes it an alias for the variable @var{current-name}. It is
equivalent to the following: