Subject: bug#64312: [PATCH] Fix define-obsolete-variable-alias arglist in Elisp info manual

From: Vladimir Sedach <[email-masked]>
Date: Mon, 26 Jun 2023 23:06:13 -0600

WHEN parameter to define-obsolete-variable-alias is not optional

--
Vladimir Sedach

>From f35a60c93049d256375793503a9efb5f79c07673 Mon Sep 17 00:00:00 2001
From: Vladimir Sedach <[email-masked]>
Date: Mon, 26 Jun 2023 22:50:59 -0600
Subject: [PATCH] ; * doc/lispref/variables.texi: Fix
 define-obsolete-variable-alias arglist

; WHEN is not optional
---
 doc/lispref/variables.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 4eda035473e..8a9f863d17e 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -2599,7 +2599,7 @@ Variable Aliases
   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:
-- 
2.20.1