From: Eli Zaretskii Date: Thu, 18 Nov 2021 08:25:58 +0000 (+0200) Subject: Improve documentation of window hooks X-Git-Tag: emacs-28.0.90~61 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5eeaf857678d617560efa6a99bb6fd54c0ceddec;p=emacs.git Improve documentation of window hooks * doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local functions". (Bug#51930) --- 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