aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-03-03 22:12:42 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2008-03-03 22:12:42 -0500
commitbdc82eaee1c444bb79e5c926bd9f2a2c1ee816a3 (patch)
treed6e850f2bbc9c173527cc87847186d0bcf4d6f70
parent63da421a2987c5d71c7adb99d0b82c32116c55ba (diff)
downloadtextadept-bdc82eaee1c444bb79e5c926bd9f2a2c1ee816a3.tar.gz
textadept-bdc82eaee1c444bb79e5c926bd9f2a2c1ee816a3.zip
Modified some package paths for consistency.
-rw-r--r--core/init.lua2
-rw-r--r--init.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/init.lua b/core/init.lua
index f25fb5e2..5f349634 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -34,7 +34,7 @@ function cocoa_dialog(kind, opts)
return out
end
-package.path = package.path..';'.._HOME..'/core/?.lua'
+package.path = _HOME..'/core/?.lua;'..package.path
require 'iface'
require 'events'
diff --git a/init.lua b/init.lua
index fce4e56e..391e2db9 100644
--- a/init.lua
+++ b/init.lua
@@ -5,7 +5,7 @@ require 'ext/find'
require 'ext/mime_types'
require 'ext/keys'
-local mpath = _HOME..'modules/?.lua;'.._HOME..'/modules/?/init.lua'
+local mpath = _HOME..'/modules/?.lua;'.._HOME..'/modules/?/init.lua'
package.path = mpath..';'..package.path
-- modules to load on startup