aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2019-01-17 19:07:47 +0100
committerMartin Rudalics2019-01-17 19:07:47 +0100
commite5663bea40f9da9860ea545198c6786cd884be0a (patch)
tree8b0395804de06a9c7812e0954dc657cc13a33eca
parent03b8903ee7fffc75085600899c992829a49d4442 (diff)
downloademacs-e5663bea40f9da9860ea545198c6786cd884be0a.tar.gz
emacs-e5663bea40f9da9860ea545198c6786cd884be0a.zip
Fix wording in Window Hooks section of Elisp manual
* doc/lispref/windows.texi (Window Hooks): Fix wording in description of window change functions. Suggested by Robert Pluim <rpluim@gmail.com>.
-rw-r--r--doc/lispref/windows.texi51
1 files changed, 27 insertions, 24 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index afb81e6874f..6ac7aa67286 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -6085,13 +6085,15 @@ functions that take one argument.
6085 6085
6086Functions specified buffer-locally are called for any window showing 6086Functions specified buffer-locally are called for any window showing
6087the corresponding buffer if that window has been added or assigned 6087the corresponding buffer if that window has been added or assigned
6088another buffer, total or body size since the last time window change 6088another buffer or changed its total or body size since the last time
6089functions were run. In this case the window is passed as argument. 6089window change functions were run. In this case the window is passed
6090as argument.
6090 6091
6091Functions specified by the default value are called for a frame if at 6092Functions specified by the default value are called for a frame if at
6092least one window on that frame has been added or assigned another 6093least one window on that frame has been added or assigned another
6093buffer, total or body size since the last time window change functions 6094buffer or changed its total or body size since the last time window
6094were run. In this case the frame is passed as argument. 6095change functions were run. In this case the frame is passed as
6096argument.
6095@end defvar 6097@end defvar
6096 6098
6097@cindex window selection change 6099@cindex window selection change
@@ -6128,17 +6130,17 @@ functions that take one argument.
6128 6130
6129Functions specified buffer-locally are called for any window showing 6131Functions specified buffer-locally are called for any window showing
6130the corresponding buffer if that window has been added or assigned 6132the corresponding buffer if that window has been added or assigned
6131another buffer, total or body size or has been selected or deselected 6133another buffer, changed its total or body size or has been selected or
6132(among all windows or among all windows on its frame) since the last 6134deselected (among all windows or among all windows on its frame) since
6133time window change functions were run. In this case the window is 6135the last time window change functions were run. In this case the
6134passed as argument. 6136window is passed as argument.
6135 6137
6136Functions specified by the default value are called for a frame if at 6138Functions specified by the default value are called for a frame if at
6137least one window on that frame has been added, deleted or assigned 6139least one window on that frame has been added, deleted or assigned
6138another buffer, total or body size or that frame has been selected or 6140another buffer, changed its total or body size or that frame has been
6139deselected or the frame's selected window has changed since the last 6141selected or deselected or the frame's selected window has changed
6140time window change functions were run. In this case the frame is 6142since the last time window change functions were run. In this case
6141passed as argument. 6143the frame is passed as argument.
6142@end defvar 6144@end defvar
6143 6145
6144@cindex window configuration change 6146@cindex window configuration change
@@ -6154,25 +6156,26 @@ should be a list of functions that take no argument.
6154 6156
6155Functions specified buffer-locally are called for any window showing 6157Functions specified buffer-locally are called for any window showing
6156the corresponding buffer if at least one window on that frame has been 6158the corresponding buffer if at least one window on that frame has been
6157added, deleted or assigned another buffer, total or body size since 6159added, deleted or assigned another buffer or changed its total or
6158the last time window change functions were run. Each call is 6160body size since the last time window change functions were run. Each
6159performed with the window showing the buffer temporarily selected and 6161call is performed with the window showing the buffer temporarily
6160its buffer current. 6162selected and its buffer current.
6161 6163
6162Functions specified by the default value are called for each frame if 6164Functions specified by the default value are called for each frame if
6163at least one window on that frame has been added, deleted or assigned 6165at least one window on that frame has been added, deleted or assigned
6164another buffer, total or body size since the last time window change 6166another buffer or changed its total or body size since the last time
6165functions were run. Each call is performed with the frame temporarily 6167window change functions were run. Each call is performed with the
6166selected and the selected window's buffer current. 6168frame temporarily selected and the selected window's buffer current.
6167@end defvar 6169@end defvar
6168 6170
6169Window change functions are called at the end of redisplay for each 6171Window change functions are called at the end of redisplay for each
6170frame as follows: First, any buffer-local window buffer change 6172frame as follows: First, any buffer-local window buffer change
6171function, window size change function and selected window change 6173function, window size change function, selected window change and
6172functions are called in this order. Next, the default values for 6174window state change functions are called in this order. Next, the
6173these functions are called in the same order. Then any buffer-local 6175default values for these functions are called in the same order. Then
6174window configuration change functions are called followed by functions 6176any buffer-local window configuration change functions are called
6175specified by the default value of those functions. 6177followed by functions specified by the default value of those
6178functions.
6176 6179
6177 Window change functions are run for a specific frame only if a 6180 Window change functions are run for a specific frame only if a
6178corresponding change was registered for that frame earlier. Such 6181corresponding change was registered for that frame earlier. Such