aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-08-23 13:50:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-08-23 13:50:38 -0300
commit9363a8b9901a5643c9da061ea8dda8a86cdc7ef1 (patch)
tree1fa57415cedba4299b3c003d5f83d126cfb5031e /manual
parent5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d (diff)
downloadlua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.tar.gz
lua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.tar.bz2
lua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.zip
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 (limited to 'manual')
-rw-r--r--manual/manual.of4
1 files changed, 4 insertions, 0 deletions
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.
9026In particular, 9026In particular,
9027the values of @Lid{package.path} and @Lid{package.cpath} 9027the values of @Lid{package.path} and @Lid{package.cpath}
9028are set with the default paths defined in @id{luaconf.h}. 9028are set with the default paths defined in @id{luaconf.h}.
9029To signal to the libraries that this option is on,
9030the stand-alone interpreter sets the field
9031@idx{"LUA_NOENV"} in the registry to a true value.
9032Other libraries may consult this field for the same purpose.
9029 9033
9030The options @T{-e}, @T{-l}, and @T{-W} are handled in 9034The options @T{-e}, @T{-l}, and @T{-W} are handled in
9031the order they appear. 9035the order they appear.