]> git.eshelyaron.com Git - emacs.git/commit
Revert "Avoid resizing mutation in subst-char-in-string"
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 12 May 2024 13:18:19 +0000 (15:18 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:49:45 +0000 (17:49 +0200)
commitf8e672423fa08f00e1ccfbabe19d3aebeb6958e0
tree3a376b123c756f900a30bd888be1674ae0495ce7
parent3d7ef81d3221a28951984988654194dd99bb1e9b
Revert "Avoid resizing mutation in subst-char-in-string"

This reverts commit 184d6e8c02345583264b053bb59ae031bb1c5a00.

It wasn't quite correct: the path through `string-replace` would not
preserve text properties in the input string, which broke Gnus.

(cherry picked from commit 9d7b22fcb408b3d864d4d74d14ab428a2706b45d)
lisp/subr.el