diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2009-07-12 12:59:49 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2009-07-12 12:59:49 -0400 |
commit | 16782a2ab5e158f418581b74452415cd561a5046 (patch) | |
tree | ff571846e5db078990f57825313abc1747fa82e7 /core/events.lua | |
parent | 070f12d6eef343179335d12686c24f8055c2514d (diff) |
Moved session support from core/file_io.lua to a Textadept module.
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/events.lua b/core/events.lua index 25dfb25d..989877c0 100644 --- a/core/events.lua +++ b/core/events.lua @@ -456,7 +456,7 @@ add_handler('view_after_switch', end) add_handler('quit', - function() -- prompts for confirmation if any buffers are dirty; saves session + function() -- prompts for confirmation if any buffers are dirty local any = false local list = {} for _, buffer in ipairs(textadept.buffers) do @@ -474,7 +474,6 @@ add_handler('quit', ['no-newline'] = true }) ~= '2' then return false end end - textadept.io.save_session() return true end) |