emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 5eeaf85: Improve documentation of window hooks


From: Eli Zaretskii
Subject: emacs-28 5eeaf85: Improve documentation of window hooks
Date: Thu, 18 Nov 2021 03:26:42 -0500 (EST)

branch: emacs-28
commit 5eeaf857678d617560efa6a99bb6fd54c0ceddec
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Improve documentation of window hooks
    
    * doc/lispref/windows.texi (Window Hooks): Clarify "buffer-local
    functions".  (Bug#51930)
---
 doc/lispref/windows.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 57cd227..a3a37bc 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]