about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--main.lua2
2 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index c089fdb..cbc2745 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,9 @@ Updates to it can be downloaded from the following mirrors:
 
 Further forks are encouraged. If you show me your fork, I'll link to it here.
 
+* https://codeberg.org/akkartik/view.love -- a stripped down version without
+  support for modifying files; useful starting point for some forks.
+
 ## Feedback
 
 [Most appreciated.](http://akkartik.name/contact)
diff --git a/main.lua b/main.lua
index 19901b4..471de1e 100644
--- a/main.lua
+++ b/main.lua
@@ -119,7 +119,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)