aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r--modules/textadept/session.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index af3d1887..20b0c831 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -51,6 +51,7 @@ function load(filename)
else
textadept.new_buffer()
buffer._type = filename
+ textadept.events.handle('file_opened', filename)
end
-- Restore saved buffer selection and view.
local anchor = tonumber(anchor) or 0