From: Richard M. Stallman Date: Wed, 20 Feb 2002 22:30:39 +0000 (+0000) Subject: (add-hook): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~16556 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61a3d8c4c42075b2b47d0617876e3e65a5774295;p=emacs.git (add-hook): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index c87bc90136c..3ff0f96afcf 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -734,7 +734,9 @@ FUNCTION is added at the end. 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