From 61a3d8c4c42075b2b47d0617876e3e65a5774295 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 20 Feb 2002 22:30:39 +0000 Subject: [PATCH] (add-hook): Doc fix. --- lisp/subr.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5