diff options
| author | Martin Rudalics | 2019-01-17 19:07:47 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2019-01-17 19:07:47 +0100 |
| commit | e5663bea40f9da9860ea545198c6786cd884be0a (patch) | |
| tree | 8b0395804de06a9c7812e0954dc657cc13a33eca | |
| parent | 03b8903ee7fffc75085600899c992829a49d4442 (diff) | |
| download | emacs-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.texi | 51 |
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 | ||
| 6086 | Functions specified buffer-locally are called for any window showing | 6086 | Functions specified buffer-locally are called for any window showing |
| 6087 | the corresponding buffer if that window has been added or assigned | 6087 | the corresponding buffer if that window has been added or assigned |
| 6088 | another buffer, total or body size since the last time window change | 6088 | another buffer or changed its total or body size since the last time |
| 6089 | functions were run. In this case the window is passed as argument. | 6089 | window change functions were run. In this case the window is passed |
| 6090 | as argument. | ||
| 6090 | 6091 | ||
| 6091 | Functions specified by the default value are called for a frame if at | 6092 | Functions specified by the default value are called for a frame if at |
| 6092 | least one window on that frame has been added or assigned another | 6093 | least one window on that frame has been added or assigned another |
| 6093 | buffer, total or body size since the last time window change functions | 6094 | buffer or changed its total or body size since the last time window |
| 6094 | were run. In this case the frame is passed as argument. | 6095 | change functions were run. In this case the frame is passed as |
| 6096 | argument. | ||
| 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 | ||
| 6129 | Functions specified buffer-locally are called for any window showing | 6131 | Functions specified buffer-locally are called for any window showing |
| 6130 | the corresponding buffer if that window has been added or assigned | 6132 | the corresponding buffer if that window has been added or assigned |
| 6131 | another buffer, total or body size or has been selected or deselected | 6133 | another 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 | 6134 | deselected (among all windows or among all windows on its frame) since |
| 6133 | time window change functions were run. In this case the window is | 6135 | the last time window change functions were run. In this case the |
| 6134 | passed as argument. | 6136 | window is passed as argument. |
| 6135 | 6137 | ||
| 6136 | Functions specified by the default value are called for a frame if at | 6138 | Functions specified by the default value are called for a frame if at |
| 6137 | least one window on that frame has been added, deleted or assigned | 6139 | least one window on that frame has been added, deleted or assigned |
| 6138 | another buffer, total or body size or that frame has been selected or | 6140 | another buffer, changed its total or body size or that frame has been |
| 6139 | deselected or the frame's selected window has changed since the last | 6141 | selected or deselected or the frame's selected window has changed |
| 6140 | time window change functions were run. In this case the frame is | 6142 | since the last time window change functions were run. In this case |
| 6141 | passed as argument. | 6143 | the 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 | ||
| 6155 | Functions specified buffer-locally are called for any window showing | 6157 | Functions specified buffer-locally are called for any window showing |
| 6156 | the corresponding buffer if at least one window on that frame has been | 6158 | the corresponding buffer if at least one window on that frame has been |
| 6157 | added, deleted or assigned another buffer, total or body size since | 6159 | added, deleted or assigned another buffer or changed its total or |
| 6158 | the last time window change functions were run. Each call is | 6160 | body size since the last time window change functions were run. Each |
| 6159 | performed with the window showing the buffer temporarily selected and | 6161 | call is performed with the window showing the buffer temporarily |
| 6160 | its buffer current. | 6162 | selected and its buffer current. |
| 6161 | 6163 | ||
| 6162 | Functions specified by the default value are called for each frame if | 6164 | Functions specified by the default value are called for each frame if |
| 6163 | at least one window on that frame has been added, deleted or assigned | 6165 | at least one window on that frame has been added, deleted or assigned |
| 6164 | another buffer, total or body size since the last time window change | 6166 | another buffer or changed its total or body size since the last time |
| 6165 | functions were run. Each call is performed with the frame temporarily | 6167 | window change functions were run. Each call is performed with the |
| 6166 | selected and the selected window's buffer current. | 6168 | frame temporarily selected and the selected window's buffer current. |
| 6167 | @end defvar | 6169 | @end defvar |
| 6168 | 6170 | ||
| 6169 | Window change functions are called at the end of redisplay for each | 6171 | Window change functions are called at the end of redisplay for each |
| 6170 | frame as follows: First, any buffer-local window buffer change | 6172 | frame as follows: First, any buffer-local window buffer change |
| 6171 | function, window size change function and selected window change | 6173 | function, window size change function, selected window change and |
| 6172 | functions are called in this order. Next, the default values for | 6174 | window state change functions are called in this order. Next, the |
| 6173 | these functions are called in the same order. Then any buffer-local | 6175 | default values for these functions are called in the same order. Then |
| 6174 | window configuration change functions are called followed by functions | 6176 | any buffer-local window configuration change functions are called |
| 6175 | specified by the default value of those functions. | 6177 | followed by functions specified by the default value of those |
| 6178 | functions. | ||
| 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 |
| 6178 | corresponding change was registered for that frame earlier. Such | 6181 | corresponding change was registered for that frame earlier. Such |