Mercurial > emacs
comparison src/alloc.c @ 51788:43d663a05e2d
(Fgarbage_collect): Doc fix.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 07 Jul 2003 20:39:40 +0000 |
| parents | f01acdb936f9 |
| children | 65772ad7d4e1 |
comparison
equal
deleted
inserted
replaced
| 51787:10f90558dc89 | 51788:43d663a05e2d |
|---|---|
| 4253 } | 4253 } |
| 4254 | 4254 |
| 4255 | 4255 |
| 4256 DEFUN ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", | 4256 DEFUN ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", |
| 4257 doc: /* Reclaim storage for Lisp objects no longer needed. | 4257 doc: /* Reclaim storage for Lisp objects no longer needed. |
| 4258 Returns info on amount of space in use: | 4258 Garbage collection happens automatically if you cons more than |
| 4259 `gc-cons-threshold' bytes of Lisp data since previous garbage collection. | |
| 4260 `garbage-collect' normally returns a list with info on amount of space in use: | |
| 4259 ((USED-CONSES . FREE-CONSES) (USED-SYMS . FREE-SYMS) | 4261 ((USED-CONSES . FREE-CONSES) (USED-SYMS . FREE-SYMS) |
| 4260 (USED-MARKERS . FREE-MARKERS) USED-STRING-CHARS USED-VECTOR-SLOTS | 4262 (USED-MARKERS . FREE-MARKERS) USED-STRING-CHARS USED-VECTOR-SLOTS |
| 4261 (USED-FLOATS . FREE-FLOATS) (USED-INTERVALS . FREE-INTERVALS) | 4263 (USED-FLOATS . FREE-FLOATS) (USED-INTERVALS . FREE-INTERVALS) |
| 4262 (USED-STRINGS . FREE-STRINGS)) | 4264 (USED-STRINGS . FREE-STRINGS)) |
| 4263 Garbage collection happens automatically if you cons more than | 4265 However, if there was overflow in pure space, `garbage-collect' |
| 4264 `gc-cons-threshold' bytes of Lisp data since previous garbage collection. */) | 4266 returns nil, because real GC can't be done. */) |
| 4265 () | 4267 () |
| 4266 { | 4268 { |
| 4267 register struct specbinding *bind; | 4269 register struct specbinding *bind; |
| 4268 struct catchtag *catch; | 4270 struct catchtag *catch; |
| 4269 struct handler *handler; | 4271 struct handler *handler; |
