From: Richard M. Stallman Date: Mon, 14 Jul 2003 16:03:48 +0000 (+0000) Subject: (Garbage Collection): Add post-gc-hook. X-Git-Tag: ttn-vms-21-2-B4~9336 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e73c3ec468a3e3ab6a521dee6b053f74d03c0d08;p=emacs.git (Garbage Collection): Add post-gc-hook. --- 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