diff options
Diffstat (limited to 'sam.c')
| -rw-r--r-- | sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1103,7 +1103,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); - if (vis->event && vis->event->file_save) + if (!file->internal && vis->event && vis->event->file_save) vis->event->file_save(vis, file); } return true; |
