]> git.eshelyaron.com Git - emacs.git/commit
Reserve negative depth range for ERC's insert hooks
authorF. Jason Park <jp@neverwas.me>
Fri, 19 Jan 2024 17:11:37 +0000 (09:11 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jan 2024 18:04:46 +0000 (19:04 +0100)
commitf0c1546aebf2becc6b633291eca5969f9b687ac6
treee11371616e8966915e75018152edff02430e4a5b
parent45c3e4301a60c6991a271ee0522c490c0df9a4dd
Reserve negative depth range for ERC's insert hooks

* etc/ERC-NEWS: Mention additional reserved depth range of -80 to -20.
Also mention possibly having to cycle module activation state after
updating options.
* lisp/erc/erc-goodies.el (erc-irccontrols-mode,
erc-irccontrols-enable): Add `erc-controls-highlight' to
`erc-insert-modify-hook' at depth -50.
* lisp/erc/erc.el (erc-insert-modify-hook): Mention negative
hook-depth range in doc string.

(cherry picked from commit d85f561da03cd4705341a5a73f5c643f778e0f35)
etc/ERC-NEWS
lisp/erc/erc-goodies.el
lisp/erc/erc.el