]> git.eshelyaron.com Git - emacs.git/commit
Fix right-sided stamps commingling with erc-prompt
authorF. Jason Park <jp@neverwas.me>
Thu, 19 Oct 2023 06:20:07 +0000 (23:20 -0700)
committerF. Jason Park <jp@neverwas.me>
Fri, 20 Oct 2023 21:53:24 +0000 (14:53 -0700)
commit47612514a9e04d6f41568c3f0cdeae837c2eae19
treeb4b891d66fa74317ca19c7ab746f4c3934a403ee
parent7ffc79690ad63a09bc5baf99cbbe56654302dc72
Fix right-sided stamps commingling with erc-prompt

* lisp/erc/erc-stamp.el (erc-insert-timestamp-left-and-right): Fix bug
that saw the prompt being inserted after messages but just inside the
narrowed operating portion of the buffer, which meant remaining
modification hooks would see it upon visiting.  Thanks to Corwin Brust
for catching this.
* test/lisp/erc/erc-fill-tests.el (erc-fill-wrap--monospace): Use
custom `erc-prompt' function to guarantee invariants asserted by
`erc--assert-input-bounds' are preserved throughout.  (Bug#60936)
lisp/erc/erc-stamp.el
test/lisp/erc/erc-fill-tests.el