diff options
author | 2010-06-10 23:33:11 -0400 | |
---|---|---|
committer | 2010-06-10 23:33:11 -0400 | |
commit | 023a2f69f2f18787520c70b933b2f86a9cacef9c (patch) | |
tree | fb0ef025f3ff36ed35f9239c724cef9b8b0cb3df /core | |
parent | 7af3a62b748ab62596b6815ac97c9cf527513a6c (diff) | |
download | textadept-023a2f69f2f18787520c70b933b2f86a9cacef9c.tar.gz textadept-023a2f69f2f18787520c70b933b2f86a9cacef9c.zip |
Fixed bug from previous commit; core/file_io.lua
Diffstat (limited to 'core')
-rw-r--r-- | core/file_io.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 64160417..d08907f5 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -241,7 +241,7 @@ end -- LuaDoc is in core/.buffer.lua. local function save(buffer) textadept.check_focused_buffer(buffer) - if not buffer.filename then return save_as(buffer) end + if not buffer.filename then return buffer:save_as() end textadept.events.handle('file_before_save', buffer.filename) local text = buffer:get_text(buffer.length) if buffer.encoding then |