Improve documentation of window hooks

* doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local
functions".  (Bug#51930)
This commit is contained in:
Eli Zaretskii 2021-11-18 10:25:58 +02:00
parent 7404f4b4e0
commit 5eeaf85767

View file

@ -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