aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cpp')
-rw-r--r--modules/cpp/commands.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/cpp/commands.lua b/modules/cpp/commands.lua
index 65f67ff4..2348ad41 100644
--- a/modules/cpp/commands.lua
+++ b/modules/cpp/commands.lua
@@ -1,7 +1,5 @@
-- Copyright 2007-2010 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-local textadept = _G.textadept
-
---
-- Commands for the cpp module.
module('_m.cpp.commands', package.seeall)
@@ -27,8 +25,7 @@ if type(keys) == 'table' then
keys.cpp = {
al = {
m = { io.open_file,
- textadept.iconv(_HOME..'/modules/cpp/init.lua',
- 'UTF-8', _CHARSET) },
+ (_HOME..'/modules/cpp/init.lua'):iconv('UTF-8', _CHARSET) },
},
['s\n'] = { function()
buffer:line_end()