aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-23 11:55:13 +0200
committerLars Ingebrigtsen2019-10-23 11:55:13 +0200
commitb7037662e1111d55218fb2345f9ebb9ed3ebef13 (patch)
tree6121349d6b192260c84088d799549dc897b38d29 /etc
parent496202d00ead9cdb649443f831e3cc8dfcf6aadd (diff)
downloademacs-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/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 43411b7d4f1..01fdf39ab04 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1234,6 +1234,13 @@ fail.
1234** erc 1234** erc
1235 1235
1236--- 1236---
1237*** New hook 'erc-insert-done-hook'.
1238This hook is called after strings have been inserted into the buffer,
1239and is free to alter point and window configurations, as it's not
1240called 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'
1238and its value has been changed to Duck Duck Go. 1245and its value has been changed to Duck Duck Go.
1239 1246