From 5df02c199959b9da42baff0c876bf87125178ca0 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sun, 23 Nov 2025 20:05:59 -0700 Subject: text: remove a bunch of unused save functions These functions were only used for testing the text system. One of them was moved to text-test.c to continue to facilitate this. Otherwise these functions are just cluttering up the code and making it hard to modify. --- vis-lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-lua.c') diff --git a/vis-lua.c b/vis-lua.c index f7e9001..695ebdb 100644 --- a/vis-lua.c +++ b/vis-lua.c @@ -2579,7 +2579,7 @@ static int file_newindex(lua_State *L) { text_insert(file->text, 0, " ", 1); text_delete(file->text, 0, 1); } else { - text_save(file->text, NULL); + text_mark_current_revision(file->text); } return 0; } -- cgit v1.2.3