aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index b57a810f..373531b5 100644
--- a/init.lua
+++ b/init.lua
@@ -30,7 +30,10 @@ if not RESETTING then
textadept.io.open(filename)
end
end
- textadept.pm.entry_text = 'buffers'
- textadept.pm.activate()
+ -- read only the Project Manager session settings
+ if not textadept.io.load_session(nil, true) then
+ textadept.pm.entry_text = 'buffers'
+ textadept.pm.activate()
+ end
end
end