# HG changeset patch # User Richard M. Stallman # Date 842752111 0 # Node ID 45a956359a951c51795ab44a397c79d93a388c24 # Parent b41f7cd8f5b35e73107721a4def8160fbfb92e74 (struct buffer): New field overlay_modiff. (MODIFF, BUF_OVERLAY_MODIFF): New macros. diff -r b41f7cd8f5b3 -r 45a956359a95 src/buffer.h --- a/src/buffer.h Sun Sep 15 00:49:22 1996 +0000 +++ b/src/buffer.h Sun Sep 15 01:48:31 1996 +0000 @@ -60,6 +60,9 @@ /* Modification count. */ #define MODIFF (current_buffer->text->modiff) +/* Overlay modification count. */ +#define OVERLAY_MODIFF(buf) (current_buffer->text->overlay_modiff) + /* Modification count as of last visit or save. */ #define SAVE_MODIFF (current_buffer->text->save_modiff) @@ -115,6 +118,9 @@ /* Modification count as of last visit or save. */ #define BUF_SAVE_MODIFF(buf) ((buf)->text->save_modiff) +/* Overlay modification count. */ +#define BUF_OVERLAY_MODIFF(buf) ((buf)->text->overlay_modiff) + /* Interval tree of buffer. */ #define BUF_INTERVALS(buf) ((buf)->text->intervals) @@ -164,6 +170,8 @@ int save_modiff; /* Previous value of modiff, as of last time buffer visited or saved a file. */ + int overlay_modiff; /* Counts modifications to overlays. */ + /* Properties of this buffer's text -- conditionally compiled. */ DECLARE_INTERVALS