From 16782a2ab5e158f418581b74452415cd561a5046 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 12 Jul 2009 12:59:49 -0400 Subject: Moved session support from core/file_io.lua to a Textadept module. --- core/events.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/events.lua') 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) -- cgit v1.2.3