summaryrefslogtreecommitdiff
path: root/lispref/internals.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-07-14 16:03:48 +0000
committerRichard M. Stallman <rms@gnu.org>2003-07-14 16:03:48 +0000
commite73c3ec468a3e3ab6a521dee6b053f74d03c0d08 (patch)
treec6b8d2c5f68a6698ac47a232c2a0f187635107f8 /lispref/internals.texi
parentcd14e1c9328e56bd815947011ff70ca60c345098 (diff)
downloademacs-e73c3ec468a3e3ab6a521dee6b053f74d03c0d08.tar.gz
(Garbage Collection): Add post-gc-hook.
Diffstat (limited to 'lispref/internals.texi')
-rw-r--r--lispref/internals.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/lispref/internals.texi b/lispref/internals.texi
index 607970acabf..e469ccc3769 100644
--- a/lispref/internals.texi
+++ b/lispref/internals.texi
@@ -339,6 +339,12 @@ beginning and end of garbage collection. The default value is
@code{nil}, meaning there are no such messages.
@end defopt
+@defvar post-gc-hook
+This is a normal hook that is run at the end of garbage collection.
+Garbage collection is inhibited while the hook functions run, so be
+careful writing them.
+@end defvar
+
@defopt gc-cons-threshold
The value of this variable is the number of bytes of storage that must
be allocated for Lisp objects after one garbage collection in order to