Mercurial > hg > xemacs-beta
comparison src/bufslots.h @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
29 | 29 |
30 /* In the declaration of the buffer structure, this file is included | 30 /* In the declaration of the buffer structure, this file is included |
31 after defining MARKED_SLOT(x) to be Lisp_Object x; i.e. just a slot | 31 after defining MARKED_SLOT(x) to be Lisp_Object x; i.e. just a slot |
32 definition. In the garbage collector this file is included after | 32 definition. In the garbage collector this file is included after |
33 defining MARKED_SLOT(x) to be mark_object(buffer->x). */ | 33 defining MARKED_SLOT(x) to be mark_object(buffer->x). */ |
34 | |
35 #ifndef BUFFER_SLOTS_FIRST_NAME | |
36 #define BUFFER_SLOTS_FIRST_NAME name | |
37 #endif | |
34 | 38 |
35 /* The name of this buffer. */ | 39 /* The name of this buffer. */ |
36 MARKED_SLOT (name); | 40 MARKED_SLOT (name); |
37 | 41 |
38 /* The name of the file visited in this buffer, or nil. */ | 42 /* The name of the file visited in this buffer, or nil. */ |
233 MARKED_SLOT (generated_modeline_string); | 237 MARKED_SLOT (generated_modeline_string); |
234 | 238 |
235 /* A hash table that maps from a "generic extent" (an extent in | 239 /* A hash table that maps from a "generic extent" (an extent in |
236 `modeline-format') into a buffer-specific extent. */ | 240 `modeline-format') into a buffer-specific extent. */ |
237 MARKED_SLOT (modeline_extent_table); | 241 MARKED_SLOT (modeline_extent_table); |
242 | |
243 #ifndef BUFFER_SLOTS_LAST_NAME | |
244 #define BUFFER_SLOTS_LAST_NAME modeline_extent_table | |
245 #endif | |
246 | |
238 #if 0 /* FSFmacs */ | 247 #if 0 /* FSFmacs */ |
239 /* This is silly and stupid */ | 248 /* This is silly and stupid */ |
240 /* These are so we don't have to recompile everything | 249 /* These are so we don't have to recompile everything |
241 the next few times we add a new slot. */ | 250 the next few times we add a new slot. */ |
242 MARKED_SLOT (extra1, extra2, extra3); | 251 MARKED_SLOT (extra1, extra2, extra3); |