changeset 43435:c7aaafe7f385

(add-hook): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 20 Feb 2002 22:30:39 +0000
parents d1a09152b7b5
children 1f1affb402ce
files lisp/subr.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Wed Feb 20 22:28:44 2002 +0000
+++ b/lisp/subr.el	Wed Feb 20 22:30:39 2002 +0000
@@ -734,7 +734,9 @@
 
 The optional fourth argument, LOCAL, if non-nil, says to modify
 the hook's buffer-local value rather than its default value.
-This makes the hook buffer-local if needed.
+This makes the hook buffer-local if needed, and it makes t a member
+of the buffer-local value.  That acts as a flag to run the hook
+functions in the default value as well as in the local value.
 
 HOOK should be a symbol, and FUNCTION may be any valid function.  If
 HOOK is void, it is first set to nil.  If HOOK's value is a single