diff options
Diffstat (limited to 'src/ring.h')
| -rw-r--r-- | src/ring.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -28,10 +28,12 @@ typedef enum { /** buffer is freshly opened or saved */ TECO_BUFFER_CLEAN = 0, - /** buffer modified - if a recovery file already exists, it is outdated */ - TECO_BUFFER_DIRTY, - /** buffer modified and recovery file already written */ - TECO_BUFFER_DIRTY_DUMPED + /** buffer modified, but a recovery file does not yet exist */ + TECO_BUFFER_DIRTY_NO_DUMP, + /** buffer modified, recovery file outdated */ + TECO_BUFFER_DIRTY_OUTDATED_DUMP, + /** buffer modified and recovery file is up to date */ + TECO_BUFFER_DIRTY_RECENT_DUMP } teco_buffer_state_t; typedef struct teco_buffer_t { |
