From 9363a8b9901a5643c9da061ea8dda8a86cdc7ef1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Aug 2023 13:50:38 -0300 Subject: Documentation for "LUA_NOENV" Registry field "LUA_NOENV" (that signals to libraries that option -E is on) now part of the "official" API of Lua stand-alone. --- manual/manual.of | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index f8d8ddd4..ad120f5e 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -9026,6 +9026,10 @@ Lua does not consult any environment variables. In particular, the values of @Lid{package.path} and @Lid{package.cpath} are set with the default paths defined in @id{luaconf.h}. +To signal to the libraries that this option is on, +the stand-alone interpreter sets the field +@idx{"LUA_NOENV"} in the registry to a true value. +Other libraries may consult this field for the same purpose. The options @T{-e}, @T{-l}, and @T{-W} are handled in the order they appear. -- cgit v1.2.3-55-g6feb