summaryrefslogtreecommitdiff
path: root/test/lisp/subr-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-27 00:17:58 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-27 00:17:58 +0200
commit53cf5936c19a6c7352483323666c3915de6f7746 (patch)
tree500440a573fe14077c0c891b3736eed7a2f81bb1 /test/lisp/subr-tests.el
parentf43d9d94aafcdfbcc5a10498333a28b3f8220fcf (diff)
downloademacs-53cf5936c19a6c7352483323666c3915de6f7746.tar.gz
emacs-53cf5936c19a6c7352483323666c3915de6f7746.tar.bz2
emacs-53cf5936c19a6c7352483323666c3915de6f7746.zip
Slight replace-in-string optimization
* lisp/subr.el (replace-in-string): Optimize to return the original string if nothing was replaced (bug#43598).
Diffstat (limited to 'test/lisp/subr-tests.el')
0 files changed, 0 insertions, 0 deletions