aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sam.c b/sam.c
index 3e66420..37a1c80 100644
--- a/sam.c
+++ b/sam.c
@@ -1329,7 +1329,7 @@ static bool cmd_write(Vis *vis, Win *win, Command *cmd, const char *argv[], Curs
file_name_set(file, *name);
if (strcmp(file->name, *name) == 0)
file->stat = text_stat(text);
- vis_event_emit(vis, VIS_EVENT_FILE_SAVE, file);
+ vis_event_emit(vis, VIS_EVENT_FILE_SAVE_POST, file);
}
return true;
}