comparison src/bufslots.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children 11054d720c21
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
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
38 34
39 /* The name of this buffer. */ 35 /* The name of this buffer. */
40 MARKED_SLOT (name); 36 MARKED_SLOT (name);
41 37
42 /* The name of the file visited in this buffer, or nil. */ 38 /* The name of the file visited in this buffer, or nil. */
237 MARKED_SLOT (generated_modeline_string); 233 MARKED_SLOT (generated_modeline_string);
238 234
239 /* A hash table that maps from a "generic extent" (an extent in 235 /* A hash table that maps from a "generic extent" (an extent in
240 `modeline-format') into a buffer-specific extent. */ 236 `modeline-format') into a buffer-specific extent. */
241 MARKED_SLOT (modeline_extent_table); 237 MARKED_SLOT (modeline_extent_table);
242
243 #ifndef BUFFER_SLOTS_LAST_NAME
244 #define BUFFER_SLOTS_LAST_NAME modeline_extent_table
245 #endif
246
247 #if 0 /* FSFmacs */ 238 #if 0 /* FSFmacs */
248 /* This is silly and stupid */ 239 /* This is silly and stupid */
249 /* These are so we don't have to recompile everything 240 /* These are so we don't have to recompile everything
250 the next few times we add a new slot. */ 241 the next few times we add a new slot. */
251 MARKED_SLOT (extra1, extra2, extra3); 242 MARKED_SLOT (extra1, extra2, extra3);