diff options
author | 2011-06-24 17:41:51 -0400 | |
---|---|---|
committer | 2011-06-24 17:41:51 -0400 | |
commit | e192e73a92eb896f9c8623d11a8c49ebbcb4c291 (patch) | |
tree | 7c09774b3fa143126e8373c2a0c3d901f3e7273c /core/init.lua | |
parent | 282c7dd9fe5c903a4620d41c9498153e83867119 (diff) | |
download | textadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.tar.gz textadept-e192e73a92eb896f9c8623d11a8c49ebbcb4c291.zip |
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua index f5eb769c..8bebca32 100644 --- a/core/init.lua +++ b/core/init.lua @@ -29,7 +29,7 @@ if not _THEME:find('[/\\]') then end -- LuaDoc is in core/._G.luadoc. -function _G.user_dofile(filename) +function user_dofile(filename) if not lfs.attributes(_USERHOME..'/'..filename) then return false end local ok, err = pcall(dofile, _USERHOME..'/'..filename) if not ok then gui.print(err) end |