diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -1303,14 +1303,17 @@ of the Emacs Lisp Reference manual for more detail. | |||
| 1303 | 1303 | ||
| 1304 | +++ | 1304 | +++ |
| 1305 | ** Window change functions have been redesigned completely. | 1305 | ** Window change functions have been redesigned completely. |
| 1306 | |||
| 1306 | Hooks reacting to window changes run now only when redisplay detects | 1307 | Hooks reacting to window changes run now only when redisplay detects |
| 1307 | that a change has actually occurred. The four hooks provided are: | 1308 | that a change has actually occurred. The five hooks provided are: |
| 1308 | 'window-buffer-change-functions' (run after window buffers have | 1309 | 'window-buffer-change-functions' (run after window buffers have |
| 1309 | changed), 'window-size-change-functions' (run after a window was | 1310 | changed), 'window-size-change-functions' (run after a window was |
| 1310 | assigned a new buffer or size), 'window-configuration-change-hook' | 1311 | assigned a new buffer or size), 'window-configuration-change-hook' |
| 1311 | (like the former but run also when a window was deleted) and | 1312 | (like the former but run also when a window was deleted), |
| 1312 | 'window-selection-change-functions' (run when the selected window | 1313 | 'window-selection-change-functions' (run when the selected window |
| 1313 | changed). 'window-scroll-functions' are unaffected by these changes. | 1314 | changed) and 'window-state-change-functions' (run when any of the |
| 1315 | preceding ones is run). 'window-scroll-functions' are unaffected by | ||
| 1316 | these changes. | ||
| 1314 | 1317 | ||
| 1315 | In addition, a number of functions now allow the caller to detect what | 1318 | In addition, a number of functions now allow the caller to detect what |
| 1316 | has changed since last redisplay: 'window-old-buffer' returns for any | 1319 | has changed since last redisplay: 'window-old-buffer' returns for any |