From a7115b12267f6165426d0540da6ab0ae6f90a191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 21 Nov 2016 23:13:13 +0100 Subject: vis-lua: rename file_save event to file_save_post Indicating that the event is triggered *after* a successfull write. --- sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sam.c') 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; } -- cgit v1.2.3