Mercurial > emacs
diff lisp/subr.el @ 43435:c7aaafe7f385
(add-hook): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 20 Feb 2002 22:30:39 +0000 |
parents | 43607fa60102 |
children | ecd03935bb98 |
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