aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 3cee810f..080abad6 100644
--- a/init.lua
+++ b/init.lua
@@ -1,7 +1,5 @@
-- Copyright 2007-2010 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-local textadept = _G.textadept
-
local paths = {
_USERHOME..'/?.lua',
_USERHOME..'/modules/?.lua',
@@ -12,7 +10,7 @@ local paths = {
}
package.path = table.concat(paths, ';')
-if not textadept.user_dofile('init.lua') then
+if not user_dofile('init.lua') then
-- Core extension modules to load on startup.
require 'ext/find' -- provides functionality for find/replace
require 'ext/command_entry' -- provides tab-completion for the command entry