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. --- sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index 379b674..d32066d 100644 --- a/sam.c +++ b/sam.c @@ -1642,7 +1642,7 @@ static bool cmd_write(Vis *vis, Win *win, Command *cmd, const char *argv[], Sele } /* make sure the file is marked as saved i.e. not modified */ - text_save(text, NULL); + text_mark_current_revision(text); vis_event_emit(vis, VIS_EVENT_FILE_SAVE_POST, file, (char*)NULL); return true; } -- cgit v1.2.3