]> 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)
committerEshel Yaron <me@eshelyaron.com>
Mon, 8 Jan 2024 21:53:47 +0000 (22:53 +0100)
commit76d1b68d32e2b889ea967fccb19e494b932589b4
tree54d3734c4daaa552ab67ded1d09f4f40a72c13fe
parentf77e300a5b2b967af4464068f26457dd4ef58c0e
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)

(cherry picked from commit d6f9379d1c708dddc0543bf7242ba1ec6aee9746)
etc/ERC-NEWS
lisp/erc/erc-backend.el
lisp/erc/erc.el
test/lisp/erc/erc-tests.el