Mercurial > emacs
diff src/buffer.h @ 107617:c5f9e4613394
Merge from mainline.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 16 Jan 2010 06:57:09 -0500 |
parents | d44bdcba4457 4040ecb0c904 |
children | 688679bd79f5 |
line wrap: on
line diff
--- a/src/buffer.h Sat Jan 09 11:27:11 2010 -0500 +++ b/src/buffer.h Sat Jan 16 06:57:09 2010 -0500 @@ -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 @@ /* 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)