]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of window hooks
authorEli Zaretskii <eliz@gnu.org>
Thu, 18 Nov 2021 08:25:58 +0000 (10:25 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 18 Nov 2021 08:25:58 +0000 (10:25 +0200)
* doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local
functions".  (Bug#51930)

doc/lispref/windows.texi

index 57cd2274d4b8e6f9968683b2d393c6568de88593..a3a37bc60d25754573200694be4e26025a2b503f 100644 (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