Mercurial > emacs
changeset 51788:43d663a05e2d
(Fgarbage_collect): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Jul 2003 20:39:40 +0000 |
parents | 10f90558dc89 |
children | bbc2db81b39e |
files | src/alloc.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alloc.c Mon Jul 07 18:53:42 2003 +0000 +++ b/src/alloc.c Mon Jul 07 20:39:40 2003 +0000 @@ -4255,13 +4255,15 @@ DEFUN ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", doc: /* Reclaim storage for Lisp objects no longer needed. -Returns info on amount of space in use: +Garbage collection happens automatically if you cons more than +`gc-cons-threshold' bytes of Lisp data since previous garbage collection. +`garbage-collect' normally returns a list with info on amount of space in use: ((USED-CONSES . FREE-CONSES) (USED-SYMS . FREE-SYMS) (USED-MARKERS . FREE-MARKERS) USED-STRING-CHARS USED-VECTOR-SLOTS (USED-FLOATS . FREE-FLOATS) (USED-INTERVALS . FREE-INTERVALS) (USED-STRINGS . FREE-STRINGS)) -Garbage collection happens automatically if you cons more than -`gc-cons-threshold' bytes of Lisp data since previous garbage collection. */) +However, if there was overflow in pure space, `garbage-collect' +returns nil, because real GC can't be done. */) () { register struct specbinding *bind;