From 2ab6deaecb4576c932dd63186927e9481bf5dedc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 5 Jan 2012 05:20:39 -0500 Subject: Rename '_m' to '_M'. --- doc/manual/9_Preferences.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/manual/9_Preferences.md') diff --git a/doc/manual/9_Preferences.md b/doc/manual/9_Preferences.md index 6e24daee..bd7fedbd 100644 --- a/doc/manual/9_Preferences.md +++ b/doc/manual/9_Preferences.md @@ -14,11 +14,11 @@ to load alongside the default modules, your `~/.textadept/init.lua` would contain require 'textadept' - _m.foo = require 'foo' + _M.foo = require 'foo' -Please note that the `textadept` module populates the `_m.textadept` table +Please note that the `textadept` module populates the `_M.textadept` table itself because of internal dependencies. Normally, modules do not do this, hence -why `_m.foo = require 'foo'` is used. +why `_M.foo = require 'foo'` is used. If instead you wanted to load all of Textadept's default modules except for the menu, copy the `textadept` module's `init.lua` (located in the @@ -46,8 +46,8 @@ whitespace stripping on save, your `~/.textadept/init.lua` might look like: require 'textadept' - _m.textadept.editing.AUTOPAIR = false - _m.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false + _M.textadept.editing.AUTOPAIR = false + _M.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false #### Other -- cgit v1.2.3