diff options
| author | Kévin Le Gouguec | 2022-09-11 19:55:01 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-09-11 19:55:36 +0200 |
| commit | d8f392bccd46cdb238ec96964f220ffb9d81cc44 (patch) | |
| tree | e848ea4af2352a30411d4fe5ef1797fc87e87441 /src | |
| parent | cba83d989359d667e52dad4e0e9eadf6f77cc38f (diff) | |
| download | emacs-d8f392bccd46cdb238ec96964f220ffb9d81cc44.tar.gz emacs-d8f392bccd46cdb238ec96964f220ffb9d81cc44.zip | |
Restrict replace-*-in-region to the bounds defined by caller
* lisp/subr.el (replace-string-in-region, replace-regexp-in-region):
Narrow to region before iterating over matches, instead of giving a
bound to the search functions.
* test/lisp/subr-tests.el (test-replace-string-in-region): Add
regression tests (bug#57733).
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions