aboutsummaryrefslogtreecommitdiff
path: root/vis-prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-prompt.c')
-rw-r--r--vis-prompt.c2
1 files changed, 1 insertions, 1 deletions
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);
}