diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-09-15 01:48:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-09-15 01:48:31 +0000 |
commit | 2e50b9cc7781731bec2c7edb49a06c2d21ada0e2 (patch) | |
tree | 1ca79d1d887156190f42ae5f98892efd22139009 /src/buffer.h | |
parent | 39110bdb9fd3e600a65e15c06d6a90477bc495ad (diff) | |
download | emacs-2e50b9cc7781731bec2c7edb49a06c2d21ada0e2.tar.gz |
(struct buffer): New field overlay_modiff.
(MODIFF, BUF_OVERLAY_MODIFF): New macros.
Diffstat (limited to 'src/buffer.h')
-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. */ /* 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 @@ Boston, MA 02111-1307, USA. */ /* 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 @@ struct buffer_text 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 |