diff options
author | 2010-06-16 18:10:13 -0400 | |
---|---|---|
committer | 2010-06-16 18:10:13 -0400 | |
commit | c94eb63139d7ca800a05596157a65f560f610a91 (patch) | |
tree | dbfe3a8e3e48f2467fad3fe487fb0ac64aafce5c /core/init.lua | |
parent | 5245d1b62be50ebb2efc266eaf579b3d32a49e1f (diff) | |
download | textadept-c94eb63139d7ca800a05596157a65f560f610a91.tar.gz textadept-c94eb63139d7ca800a05596157a65f560f610a91.zip |
Code and documentation cleanup.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/init.lua b/core/init.lua index cb880579..dda18806 100644 --- a/core/init.lua +++ b/core/init.lua @@ -26,8 +26,8 @@ if f then end if not _THEME:find('[/\\]') then local theme = _THEME - _THEME = _HOME..'/themes/'..theme - if not lfs.attributes(_THEME) then _THEME = _USERHOME..'/themes/'..theme end + _THEME = _USERHOME..'/themes/'..theme + if not lfs.attributes(_THEME) then _THEME = _HOME..'/themes/'..theme end end require 'iface' @@ -36,8 +36,6 @@ require 'events' require 'file_io' require 'gui' -rawset = nil -- do not allow modifications which could compromise stability - -- LuaDoc is in core/._G.lua. function _G.user_dofile(filename) if lfs.attributes(_USERHOME..'/'..filename) then |