comparison src/bufslots.h @ 5214:0b4d355771bd

Import buffer-display-count, buffer-display-time; thank you, Jeff Sparkes. man/ChangeLog addition: 2010-05-17 Jeff Sparkes <jsparkes@gmail.com> * lispref/windows.texi (Buffers and Windows): Document buffer-display-count and buffer-display-time with descriptions from GNU emacs lispref. * lispref/locals.texi (Standard Buffer-Local Variables): Add buffer-display-count and buffer-display-time. src/ChangeLog addition: 2010-05-17 Jeff Sparkes <jsparkes@gmail.com> * buffer.c (complex_vars_of_buffer): Add buffer local variables buffer-display-count and buffer-display-time. (common_init_complex_vars_of_buffer): Initialize them here. * bufslots.h: Add slots for buffer-display-count and buffer-display-time. * window.c (Fset_window_buffer): Update buffer-display-count and buffer-display-time whenever a buffer is displayed.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 28 May 2010 13:48:22 +0100
parents e22b0213b713
children 308d34e9f07d
comparison
equal deleted inserted replaced
5213:7abb91db1e64 5214:0b4d355771bd
214 MARKED_SLOT (invisibility_spec) 214 MARKED_SLOT (invisibility_spec)
215 215
216 /* The string generated by formatting the modeline in this buffer. */ 216 /* The string generated by formatting the modeline in this buffer. */
217 MARKED_SLOT (generated_modeline_string) 217 MARKED_SLOT (generated_modeline_string)
218 218
219 /* Incremented each time a buffer is displayed using set-window-buffer. */
220 MARKED_SLOT (display_count)
221
222 /* Last time this buffer was displayed using set-window-buffer. */
223 MARKED_SLOT (display_time)
224
219 /* A hash table that maps from a "generic extent" (an extent in 225 /* A hash table that maps from a "generic extent" (an extent in
220 `modeline-format') into a buffer-specific extent. */ 226 `modeline-format') into a buffer-specific extent. */
221 MARKED_SLOT (modeline_extent_table) 227 MARKED_SLOT (modeline_extent_table)
222 228
223 #ifndef BUFFER_SLOTS_LAST_NAME 229 #ifndef BUFFER_SLOTS_LAST_NAME