From 01a6dcc8832ba195ca2c17d5cf04b58f3736902b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 2 Mar 2012 20:18:09 -0800 Subject: [PATCH] lispref/internals.texi Memory Usage tiny change * doc/lispref/internals.texi: (Memory Usage): Copyedit. * src/alloc.c (misc-objects-consed): Doc fix. --- doc/lispref/ChangeLog | 1 + doc/lispref/internals.texi | 2 +- src/ChangeLog | 2 +- src/alloc.c | 4 +++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 47705612146..cad2921e78c 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -4,6 +4,7 @@ (Building Emacs): Say less about CANNOT_DUMP platforms. Replace deleted eval-at-startup with custom-initialize-delay. (Pure Storage): Small changes. + (Memory Usage): Copyedit. * tips.texi: Copyedits. (Coding Conventions): Mention autoloads. diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 35759d39f1d..bab96582302 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi @@ -456,7 +456,7 @@ point number. These functions and variables give information about the total amount of memory allocation that Emacs has done, broken down by data type. Note the difference between these and the values returned by -@code{(garbage-collect)}; those count objects that currently exist, but +@code{garbage-collect}; those count objects that currently exist, but these count the number or size of all allocations, including those for objects that have since been freed. diff --git a/src/ChangeLog b/src/ChangeLog index 9f1823d34b6..ef57223b9ca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,6 @@ 2012-03-03 Glenn Morris - * alloc.c (Fgarbage_collect): Doc fix. + * alloc.c (Fgarbage_collect, misc-objects-consed): Doc fixes. 2012-03-02 Eli Zaretskii diff --git a/src/alloc.c b/src/alloc.c index 29388870d93..f85661415cd 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -6446,7 +6446,9 @@ If this portion is smaller than `gc-cons-threshold', this is ignored. */); doc: /* Number of string characters that have been consed so far. */); DEFVAR_INT ("misc-objects-consed", misc_objects_consed, - doc: /* Number of miscellaneous objects that have been consed so far. */); + doc: /* Number of miscellaneous objects that have been consed so far. +These include markers and overlays, plus certain objects not visible +to users. */); DEFVAR_INT ("intervals-consed", intervals_consed, doc: /* Number of intervals that have been consed so far. */); -- 2.39.2