diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index cbacfb97116..4a13cb0d18e 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -60,6 +60,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 60 | /* Modification count. */ | 60 | /* Modification count. */ |
| 61 | #define MODIFF (current_buffer->text->modiff) | 61 | #define MODIFF (current_buffer->text->modiff) |
| 62 | 62 | ||
| 63 | /* Overlay modification count. */ | ||
| 64 | #define OVERLAY_MODIFF(buf) (current_buffer->text->overlay_modiff) | ||
| 65 | |||
| 63 | /* Modification count as of last visit or save. */ | 66 | /* Modification count as of last visit or save. */ |
| 64 | #define SAVE_MODIFF (current_buffer->text->save_modiff) | 67 | #define SAVE_MODIFF (current_buffer->text->save_modiff) |
| 65 | 68 | ||
| @@ -115,6 +118,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 115 | /* Modification count as of last visit or save. */ | 118 | /* Modification count as of last visit or save. */ |
| 116 | #define BUF_SAVE_MODIFF(buf) ((buf)->text->save_modiff) | 119 | #define BUF_SAVE_MODIFF(buf) ((buf)->text->save_modiff) |
| 117 | 120 | ||
| 121 | /* Overlay modification count. */ | ||
| 122 | #define BUF_OVERLAY_MODIFF(buf) ((buf)->text->overlay_modiff) | ||
| 123 | |||
| 118 | /* Interval tree of buffer. */ | 124 | /* Interval tree of buffer. */ |
| 119 | #define BUF_INTERVALS(buf) ((buf)->text->intervals) | 125 | #define BUF_INTERVALS(buf) ((buf)->text->intervals) |
| 120 | 126 | ||
| @@ -164,6 +170,8 @@ struct buffer_text | |||
| 164 | int save_modiff; /* Previous value of modiff, as of last | 170 | int save_modiff; /* Previous value of modiff, as of last |
| 165 | time buffer visited or saved a file. */ | 171 | time buffer visited or saved a file. */ |
| 166 | 172 | ||
| 173 | int overlay_modiff; /* Counts modifications to overlays. */ | ||
| 174 | |||
| 167 | /* Properties of this buffer's text -- conditionally compiled. */ | 175 | /* Properties of this buffer's text -- conditionally compiled. */ |
| 168 | DECLARE_INTERVALS | 176 | DECLARE_INTERVALS |
| 169 | 177 | ||