From 5eeaf857678d617560efa6a99bb6fd54c0ceddec Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 18 Nov 2021 10:25:58 +0200 Subject: [PATCH] Improve documentation of window hooks * doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local functions". (Bug#51930) --- doc/lispref/windows.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 57cd2274d4b..a3a37bc60d2 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -6375,7 +6375,9 @@ changed. @xref{Other Font Lock Variables}. during redisplay provided a significant, non-scrolling change of a window has been detected. For simplicity, these hooks and the functions they call will be collectively referred to as @dfn{window -change functions}. +change functions}. As any hook, these hooks can be set either +globally of buffer-locally via the @var{local} argument of +@code{add-hook} (@pxref{Setting Hooks}) when the hook is installed. @cindex window buffer change The first of these hooks is run after a @dfn{window buffer change} is -- 2.39.2