aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ring.h b/src/ring.h
index 4624983..d81c3db 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -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 {