diff options
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index 9f57a292053..5217c6d7298 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -1,6 +1,6 @@ /* Header file for the buffer manipulation primitives. Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -158,6 +158,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* Overlay modification count. */ #define BUF_OVERLAY_MODIFF(buf) ((buf)->text->overlay_modiff) +/* Modification count as of last auto-save. */ +/* FIXME: should we move this into ->text->auto_save_modiff? */ +#define BUF_AUTOSAVE_MODIFF(buf) ((buf)->auto_save_modified) + /* Interval tree of buffer. */ #define BUF_INTERVALS(buf) ((buf)->text->intervals) |