From 3f3c9838290e9d3df43d94ab389646985aa4613d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 24 Apr 2013 09:32:10 -0400 Subject: Renamed `_G.buffer_new()` to `buffer.new()`. --- modules/textadept/session.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/session.lua') diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index 9f21a65a..98a5c56c 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -62,7 +62,7 @@ function M.load(filename) not_found[#not_found + 1] = filename end else - new_buffer()._type = filename + buffer.new()._type = filename events.emit(events.FILE_OPENED, filename) end -- Restore saved buffer selection and view. -- cgit v1.2.3