aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/manual/7_Modules.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/7_Modules.md')
-rw-r--r--doc/manual/7_Modules.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/manual/7_Modules.md b/doc/manual/7_Modules.md
index 57845121..4885b9cd 100644
--- a/doc/manual/7_Modules.md
+++ b/doc/manual/7_Modules.md
@@ -135,9 +135,7 @@ a `post_init.lua` file. For example, instead of copying the `lua` module and
changing its `set_buffer_properties()` function to use tabs, you can do this
from `post_init.lua`:
- module('_m.lua', package.seeall)
-
- function set_buffer_properties()
+ function _m.lua.set_buffer_properties()
buffer.use_tabs = true
end