# HG changeset patch # User Richard M. Stallman # Date 1014244239 0 # Node ID c7aaafe7f3855c3108dc77fdcf880ced30efc761 # Parent d1a09152b7b5fac09446fc7bf2a1b793a269be58 (add-hook): Doc fix. diff -r d1a09152b7b5 -r c7aaafe7f385 lisp/subr.el --- 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