diff options
Diffstat (limited to 'doc/14_Appendix.md')
-rw-r--r-- | doc/14_Appendix.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index 4ce299e1..f335f246 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -315,14 +315,9 @@ or and -- File ~/.textadept/init.lua - require 'textadept' + _M.textadept = require 'textadept' _M.foo = require 'foo' -Please remember that, as stated in the documentation, `require 'textadept'` is a -special case and `_M.textadept = require 'textadept'` is not necessary because -of internal dependencies. All other modules need the -`_M.module = require 'module'` construct. - Notice that `_M` is the new module table instead of `_m`. More on this [later](#Global.Module.Table). |