diff options
| author | Lars Ingebrigtsen | 2019-10-23 11:55:13 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-23 11:55:13 +0200 |
| commit | b7037662e1111d55218fb2345f9ebb9ed3ebef13 (patch) | |
| tree | 6121349d6b192260c84088d799549dc897b38d29 /etc | |
| parent | 496202d00ead9cdb649443f831e3cc8dfcf6aadd (diff) | |
| download | emacs-b7037662e1111d55218fb2345f9ebb9ed3ebef13.tar.gz emacs-b7037662e1111d55218fb2345f9ebb9ed3ebef13.zip | |
Ensure that the prompt is kept on the final line
* lisp/erc/erc-goodies.el (erc-possibly-scroll-to-bottom): New
function.
(scrolltobottom): Add to erc-insert-done-hook.
* lisp/erc/erc.el (erc-insert-done-hook): New hook (bug#11697).
(erc-display-line-1): Use it.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -1234,6 +1234,13 @@ fail. | |||
| 1234 | ** erc | 1234 | ** erc |
| 1235 | 1235 | ||
| 1236 | --- | 1236 | --- |
| 1237 | *** New hook 'erc-insert-done-hook'. | ||
| 1238 | This hook is called after strings have been inserted into the buffer, | ||
| 1239 | and is free to alter point and window configurations, as it's not | ||
| 1240 | called from inside a 'save-excursion', as opposed to | ||
| 1241 | 'erc-insert-post-hook'. | ||
| 1242 | |||
| 1243 | --- | ||
| 1237 | *** 'erc-button-google-url' has been renamed to 'erc-button-search-url' | 1244 | *** 'erc-button-google-url' has been renamed to 'erc-button-search-url' |
| 1238 | and its value has been changed to Duck Duck Go. | 1245 | and its value has been changed to Duck Duck Go. |
| 1239 | 1246 | ||