Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
107616:fa5ad3eee9f5 | 107617:c5f9e4613394 |
---|---|
1 /* Header file for the buffer manipulation primitives. | 1 /* Header file for the buffer manipulation primitives. |
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, | 2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, |
3 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 3 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GNU Emacs. | 6 This file is part of GNU Emacs. |
7 | 7 |
8 GNU Emacs is free software: you can redistribute it and/or modify | 8 GNU Emacs is free software: you can redistribute it and/or modify |
155 /* Modification count as of last visit or save. */ | 155 /* Modification count as of last visit or save. */ |
156 #define BUF_SAVE_MODIFF(buf) ((buf)->text->save_modiff) | 156 #define BUF_SAVE_MODIFF(buf) ((buf)->text->save_modiff) |
157 | 157 |
158 /* Overlay modification count. */ | 158 /* Overlay modification count. */ |
159 #define BUF_OVERLAY_MODIFF(buf) ((buf)->text->overlay_modiff) | 159 #define BUF_OVERLAY_MODIFF(buf) ((buf)->text->overlay_modiff) |
160 | |
161 /* Modification count as of last auto-save. */ | |
162 /* FIXME: should we move this into ->text->auto_save_modiff? */ | |
163 #define BUF_AUTOSAVE_MODIFF(buf) ((buf)->auto_save_modified) | |
160 | 164 |
161 /* Interval tree of buffer. */ | 165 /* Interval tree of buffer. */ |
162 #define BUF_INTERVALS(buf) ((buf)->text->intervals) | 166 #define BUF_INTERVALS(buf) ((buf)->text->intervals) |
163 | 167 |
164 /* Marker chain of buffer. */ | 168 /* Marker chain of buffer. */ |