changeset 51923:b2a3d5e58cc3

(Garbage Collection): Add post-gc-hook.
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Jul 2003 16:03:48 +0000
parents 97cfe6cd3e4f
children a05f23194471
files lispref/internals.texi
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/internals.texi	Mon Jul 14 16:03:25 2003 +0000
+++ b/lispref/internals.texi	Mon Jul 14 16:03:48 2003 +0000
@@ -339,6 +339,12 @@
 @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