changeset 91779:b4aeed11a1d7

(struct buffer): Comment fix to clarify the status of Lisp fields.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 11 Feb 2008 17:54:15 +0000
parents e875ea8ab4d2
children d097bc79fdfb
files src/buffer.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.h	Mon Feb 11 17:40:11 2008 +0000
+++ b/src/buffer.h	Mon Feb 11 17:54:15 2008 +0000
@@ -562,6 +562,10 @@
   /* Position where the overlay lists are centered.  */
   EMACS_INT overlay_center;
 
+  /* Everything from here down must be a Lisp_Object.  */
+  /* buffer-local Lisp variables start at `undo_list',
+     tho only the ones from `name' on are GC'd normally.  */
+
   /* Changes in the buffer are recorded here for undo.
      t means don't record anything.
      This information belongs to the base buffer of an indirect buffer,
@@ -571,8 +575,6 @@
      This comes before `name' because it is marked in a special way.  */
   Lisp_Object undo_list;
 
-  /* Everything from here down must be a Lisp_Object.  */
-
   /* The name of this buffer.  */
   Lisp_Object name;