[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b7dfae3: Fix a misleading comment in Freplace_match
From: |
Lars Ingebrigtsen |
Subject: |
master b7dfae3: Fix a misleading comment in Freplace_match |
Date: |
Sun, 18 Oct 2020 04:19:05 -0400 (EDT) |
branch: master
commit b7dfae3a8168977013e8de1df0916c51e76e7326
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix a misleading comment in Freplace_match
* src/search.c (Freplace_match): Fix a misleading comment
(bug#42424).
---
src/search.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/search.c b/src/search.c
index 6fb3716..e7f9094 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2748,7 +2748,7 @@ since only regular expressions have distinguished
subexpressions. */)
/* Put point back where it was in the text, if possible. */
TEMP_SET_PT (clip_to_bounds (BEGV, opoint + (opoint <= 0 ? ZV : 0), ZV));
- /* Now move point "officially" to the start of the inserted replacement. */
+ /* Now move point "officially" to the end of the inserted replacement. */
move_if_not_intangible (newpoint);
return Qnil;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b7dfae3: Fix a misleading comment in Freplace_match,
Lars Ingebrigtsen <=