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-prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-prompt.c') diff --git a/vis-prompt.c b/vis-prompt.c index bf1aeb2..089a931 100644 --- a/vis-prompt.c +++ b/vis-prompt.c @@ -197,7 +197,7 @@ void vis_message_show(Vis *vis, const char *msg) { Text *txt = win->file->text; size_t pos = text_size(txt); text_appendf(txt, "%s\n", msg); - text_save(txt, NULL); + text_mark_current_revision(txt); view_cursors_to(win->view.selection, pos); vis_window_focus(win); } -- cgit v1.2.3