diff options
| author | Lars Ingebrigtsen | 2020-10-18 10:18:57 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-10-18 10:18:57 +0200 |
| commit | b7dfae3a8168977013e8de1df0916c51e76e7326 (patch) | |
| tree | 526414ae18affdfdaacebbaa9e2a3c498236c01e /src | |
| parent | a10a3d48e8cb6ff4e52838ccfb2a0d270ec7b470 (diff) | |
| download | emacs-b7dfae3a8168977013e8de1df0916c51e76e7326.tar.gz emacs-b7dfae3a8168977013e8de1df0916c51e76e7326.zip | |
Fix a misleading comment in Freplace_match
* src/search.c (Freplace_match): Fix a misleading comment
(bug#42424).
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 6fb3716cd43..e7f90949464 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2748,7 +2748,7 @@ since only regular expressions have distinguished subexpressions. */) | |||
| 2748 | 2748 | ||
| 2749 | /* Put point back where it was in the text, if possible. */ | 2749 | /* Put point back where it was in the text, if possible. */ |
| 2750 | TEMP_SET_PT (clip_to_bounds (BEGV, opoint + (opoint <= 0 ? ZV : 0), ZV)); | 2750 | TEMP_SET_PT (clip_to_bounds (BEGV, opoint + (opoint <= 0 ? ZV : 0), ZV)); |
| 2751 | /* Now move point "officially" to the start of the inserted replacement. */ | 2751 | /* Now move point "officially" to the end of the inserted replacement. */ |
| 2752 | move_if_not_intangible (newpoint); | 2752 | move_if_not_intangible (newpoint); |
| 2753 | 2753 | ||
| 2754 | return Qnil; | 2754 | return Qnil; |