about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 64d0584..74928c1 100644
--- a/main.lua
+++ b/main.lua
@@ -122,7 +122,7 @@ function App.filedropped(file)
     save_to_disk(Editor_state)
   end
   -- clear the slate for the new file
-  App.initialize_globals()  -- in particular, forget all undo history
+  App.initialize_globals()
   Editor_state.filename = file:getFilename()
   file:open('r')
   Editor_state.lines = load_from_file(file)