summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-11-18 10:25:58 +0200
committerEli Zaretskii <eliz@gnu.org>2021-11-18 10:25:58 +0200
commit5eeaf857678d617560efa6a99bb6fd54c0ceddec (patch)
treeb0929ff8f74f764b26fb464abab4f798bdeaeb8b /doc/lispref/windows.texi
parent7404f4b4e0bf472d5f161957ff23e30df0e8b96d (diff)
downloademacs-5eeaf857678d617560efa6a99bb6fd54c0ceddec.tar.gz
Improve documentation of window hooks
* doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local functions". (Bug#51930)
Diffstat (limited to 'doc/lispref/windows.texi')
-rw-r--r--doc/lispref/windows.texi4
1 files changed, 3 insertions, 1 deletions
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