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-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-cmds.c') diff --git a/vis-cmds.c b/vis-cmds.c index 892f5a5..482508f 100644 --- a/vis-cmds.c +++ b/vis-cmds.c @@ -867,7 +867,7 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Selec for (size_t i = 0; i < LENGTH(configs); i++) text_appendf(txt, " %-32s\t%s\n", configs[i].name, configs[i].enabled ? "yes" : "no"); - text_save(txt, NULL); + text_mark_current_revision(txt); view_cursors_to(vis->win->view.selection, 0); if (argv[1]) -- cgit v1.2.3