diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-01-19 14:57:51 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-01-19 14:57:51 +0300 |
commit | 1a1baebf95b493bf62528ad8c00900cb789a96bd (patch) | |
tree | c2d8b2f6fe5cd7983589394b860abc9757051786 /src/ring.h | |
parent | eddc89a5d18c6fb7b745b45228079306dda13f7a (diff) | |
download | sciteco-1a1baebf95b493bf62528ad8c00900cb789a96bd.tar.gz |
support :EF for saving a file before closing it
Analoguous to :EX, but always saves the file like EW$, not only if it's dirty.
Diffstat (limited to 'src/ring.h')
-rw-r--r-- | src/ring.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -100,6 +100,8 @@ void teco_ring_cleanup(void); TECO_DECLARE_STATE(teco_state_edit_file); TECO_DECLARE_STATE(teco_state_save_file); +void teco_state_ecommand_close(teco_machine_main_t *ctx, GError **error); + /* * Helper functions applying to any current * document (whether a buffer or QRegister). |