diff options
-rw-r--r-- | app.lua | 4 | ||||
-rw-r--r-- | edit.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app.lua b/app.lua index ff6a7de..1fa94ba 100644 --- a/app.lua +++ b/app.lua @@ -304,7 +304,7 @@ function App.open_for_writing(filename) end end, close = function(self) - end + end, } end @@ -314,7 +314,7 @@ function App.open_for_reading(filename) return App.filesystem[filename]:gmatch('[^\n]+') end, close = function(self) - end + end, } end diff --git a/edit.lua b/edit.lua index 21e7d86..abb6260 100644 --- a/edit.lua +++ b/edit.lua @@ -142,7 +142,7 @@ function edit.draw(State) end schedule_save(State) record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)}) - end + end, }) if State.search_term == nil then if line_index == State.cursor1.line then |