Use PUSH-VARS/POP-VARS to preserve state.

This commit is contained in:
Dianne Skoll
2025-07-24 14:54:53 -04:00
parent f4805a443b
commit 56ad4efb1a

View File

@@ -2,6 +2,7 @@
if !defined("__autolang__")
SET __autolang__ 1
PRESERVE __autolang__
PUSH-VARS autolang
SET autolang getenv("REMIND_LANG")
IF autolang == ""
@@ -23,6 +24,6 @@ if !defined("__autolang__")
ENDIF
ENDIF
ENDIF
UNSET autolang
POP-VARS
ENDIF