commit | ef7a7c53605f86635178304ff8769a7bfa074ea3 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Tue Jan 24 22:37:37 2017 +0100 |
committer | Benno Schulenberg <bensberg@justemail.net> | Thu Jan 26 17:41:49 2017 +0100 |
tree | 79a92fb32119153ca7270efd8687e10e07b162f9 | |
parent | 64aa8757a838960e8c2b028891be217ee5246c05 [diff] |
replacing: ignore the first match when the user said no When the user answered No to a replacement prompt, skip the match at the current position, so we don't stay stuck there. Also, when replacing in the backward direction, or the match is of length zero, skip the match at the current position, to not get stuck. This fixes https://savannah.gnu.org/bugs/?50126. Reported-by: David Lawrence Ramsey <pooka109@gmail.com> This also fixes https://savannah.gnu.org/bugs/?50137, and refixes https://savannah.gnu.org/bugs/?48635, and fixes https://savannah.gnu.org/bugs/?50144.