]> git.eshelyaron.com Git - emacs.git/commit
Slight replace-in-string optimization
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Sep 2020 22:17:58 +0000 (00:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Sep 2020 22:17:58 +0000 (00:17 +0200)
commit53cf5936c19a6c7352483323666c3915de6f7746
tree500440a573fe14077c0c891b3736eed7a2f81bb1
parentf43d9d94aafcdfbcc5a10498333a28b3f8220fcf
Slight replace-in-string optimization

* lisp/subr.el (replace-in-string): Optimize to return the
original string if nothing was replaced (bug#43598).
lisp/subr.el