diff options
author | 2013-04-24 09:32:10 -0400 | |
---|---|---|
committer | 2013-04-24 09:32:10 -0400 | |
commit | 3f3c9838290e9d3df43d94ab389646985aa4613d (patch) | |
tree | b4ccaf9258676b0c09e3c8efb8898191673fb4ee /core/gui.lua | |
parent | 9e97b8fa01638740f1ab2880a6a72bd1275c6fd6 (diff) | |
download | textadept-3f3c9838290e9d3df43d94ab389646985aa4613d.tar.gz textadept-3f3c9838290e9d3df43d94ab389646985aa4613d.zip |
Renamed `_G.buffer_new()` to `buffer.new()`.
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index e9aa763b..a69ccbd6 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -34,7 +34,7 @@ local function _print(buffer_type, ...) if buffer._type == buffer_type then view:goto_buffer(i) break end end if buffer._type ~= buffer_type then - new_buffer()._type = buffer_type + buffer.new()._type = buffer_type events.emit(events.FILE_OPENED) end end |