diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-21 23:13:13 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-21 23:13:13 +0100 |
| commit | a7115b12267f6165426d0540da6ab0ae6f90a191 (patch) | |
| tree | f022738acdc5963ed6f5bc4384031191f3339d29 /sam.c | |
| parent | 095c502cc6510da652332cc6c406ab110a935806 (diff) | |
| download | vis-a7115b12267f6165426d0540da6ab0ae6f90a191.tar.gz vis-a7115b12267f6165426d0540da6ab0ae6f90a191.tar.xz | |
vis-lua: rename file_save event to file_save_post
Indicating that the event is triggered *after* a successfull write.
Diffstat (limited to 'sam.c')
| -rw-r--r-- | sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
