diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-11-18 10:25:58 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-11-18 10:25:58 +0200 |
commit | 5eeaf857678d617560efa6a99bb6fd54c0ceddec (patch) | |
tree | b0929ff8f74f764b26fb464abab4f798bdeaeb8b /doc/lispref/windows.texi | |
parent | 7404f4b4e0bf472d5f161957ff23e30df0e8b96d (diff) | |
download | emacs-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.texi | 4 |
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 |