]> git.eshelyaron.com Git - emacs.git/commit
Allow setting `erc-split-line-length' to zero
authorF. Jason Park <jp@neverwas.me>
Wed, 3 Jan 2024 10:00:45 +0000 (02:00 -0800)
committerF. Jason Park <jp@neverwas.me>
Sun, 7 Jan 2024 23:11:26 +0000 (15:11 -0800)
commitd6f9379d1c708dddc0543bf7242ba1ec6aee9746
tree7e9967a306bb703b802e653a92f1bf6e575070c9
parentfad2d1e2acc12cf8b1770d821738d924105acd8a
Allow setting `erc-split-line-length' to zero

* etc/ERC-NEWS: Mention that `erc-flood-protect' no longer affects
line splitting.
* lisp/erc/erc-backend.el (erc-split-line-length): Mention ways for
modules to suppress line splitting entirely.
(erc--split-line): Exit loop instead of asserting progress has been
made.
* lisp/erc/erc.el (erc--split-lines): Don't split input when
option `erc-split-line-length' is zero.
* test/lisp/erc/erc-tests.el (erc--split-line): Assert behavior when
`erc-split-line-length' is 0.  (Bug#62947)
etc/ERC-NEWS
lisp/erc/erc-backend.el
lisp/erc/erc.el
test/lisp/erc/erc-tests.el