lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 9363a8b9901a5643c9da061ea8dda8a86cdc7ef1
parent 5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 23 Aug 2023 13:50:11 -0300

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.

Diffstat:
Mmanual/manual.of | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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.