aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/manual/11_Scripting.md11
-rw-r--r--src/lua.sym1
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/manual/11_Scripting.md b/doc/manual/11_Scripting.md
index 9e34187e..90ec3a39 100644
--- a/doc/manual/11_Scripting.md
+++ b/doc/manual/11_Scripting.md
@@ -15,6 +15,17 @@ Textadept's API is heavily documented. The [LuaDoc](../index.html) is the
ultimate resource on scripting Textadept. There are of course abundant scripting
examples since Textadept is mostly written in Lua.
+## Lua Configuration
+
+[Lua 5.1](http://www.lua.org/manual/5.1/) is built into Textadept. It has the
+same configuration (`luaconf.h`) as vanilla Lua with the following exceptions:
+
+* `TA_LUA_PATH` and `TA_LUA_CPATH` are the environment variable used in place of
+ the usual `LUA_PATH` and `LUA_CPATH`.
+* `LUA_ROOT` is `/usr/` in Linux systems instead of `/usr/local/`.
+* The `LUA_COMPAT_VARARG`, `LUA_COMPAT_MOD`, `LUA_COMPAT_GFIND`, and
+ `LUA_COMPAT_OPENLIB` compatibility flags for Lua 5.0 are turned off.
+
## Scintilla
The editing component used by Textadept is [Scintilla](http://scintilla.org).
diff --git a/src/lua.sym b/src/lua.sym
index 42e19612..18ab3d6c 100644
--- a/src/lua.sym
+++ b/src/lua.sym
@@ -21,7 +21,6 @@ luaL_loadfile
luaL_loadstring
luaL_newmetatable
luaL_newstate
-luaL_openlib
luaL_openlibs
luaL_optinteger
luaL_optlstring