aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/04_WorkingWithFiles.md6
-rw-r--r--doc/11_Scripting.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/04_WorkingWithFiles.md b/doc/04_WorkingWithFiles.md
index 0f8cfd11..373b7851 100644
--- a/doc/04_WorkingWithFiles.md
+++ b/doc/04_WorkingWithFiles.md
@@ -66,7 +66,7 @@ not notice any difference for working with files containing ASCII text since
UTF-8 is compatible with it. Textadept can also detect ISO-8859-1 and MacRoman,
the primary encodings used on Windows and Mac OSX respectively. Files with more
exotic encodings may not be detected properly, if at all. You can change the
-list of encodings Textadept tries to detect via [`io.try_encodings`][].
+list of encodings Textadept tries to detect via [`io.encodings`][].
It is recommended to use UTF-8 encoded files because UTF-8 is very well
supported by other text editors and operating systems. You can change file
@@ -74,7 +74,7 @@ encoding via the "Buffer -> Encoding" menu. Conversion is immediate, requiring
no separate steps. Textadept saves new files as UTF-8 by default, but does not
alter the encoding of existing files.
-[`io.try_encodings`]: api/io.html#try_encodings
+[`io.encodings`]: api/io.html#encodings
### Recent Files
@@ -104,7 +104,7 @@ curses) or from the "Tools -> Snapopen -> Current Directory" menu. Snapopen is
pretty limited from the menu, but more versatile in [scripts][]. `Ctrl+U` (`⌘U`
| `^U`) snaps open *~/.textadept/*.
-[scripts]: api/_M.textadept.snapopen.html
+[scripts]: api/io.html#snapopen
![Snapopen](images/snapopen.png)
diff --git a/doc/11_Scripting.md b/doc/11_Scripting.md
index facc1a55..537ca367 100644
--- a/doc/11_Scripting.md
+++ b/doc/11_Scripting.md
@@ -55,8 +55,8 @@ as vanilla Lua with the following exceptions:
Even though Textadept can be run with [LuaJIT][], LuaJIT is based on Lua 5.1 and
is not fully compatible with Lua 5.2. Therefore, modules and scripts should be
-written to be compatible with both versions. There is a compatibility layer in
-*core/compat.lua*. Please see it for more information.
+written to be compatible with both versions. For the most part, only Lua 5.2's
+`_ENV` is not supported by LuaJIT.
[LuaJIT]: http://luajit.org