diff options
| author | Richard M. Stallman | 2003-07-07 20:39:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-07-07 20:39:40 +0000 |
| commit | e1e375966ecb9d48709c2717701e3fde80390307 (patch) | |
| tree | bb6718f2635af6480f12bca4fd0fd3358b67d3af /src/alloc.c | |
| parent | 7a7b20311c3afcb43bca06e5b3ce7775ec74af39 (diff) | |
| download | emacs-e1e375966ecb9d48709c2717701e3fde80390307.tar.gz emacs-e1e375966ecb9d48709c2717701e3fde80390307.zip | |
(Fgarbage_collect): Doc fix.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 169d292c1b3..c31132820bb 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4255,13 +4255,15 @@ inhibit_garbage_collection () | |||
| 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; |