projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10a3d4
)
Fix a misleading comment in Freplace_match
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 18 Oct 2020 08:18:57 +0000
(10:18 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 18 Oct 2020 08:18:57 +0000
(10:18 +0200)
* src/search.c (Freplace_match): Fix a misleading comment
(bug#42424).
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 6fb3716cd43bfff90c20fe46f4a9618936716ece..e7f90949464adb1a3a4cbd9ddb3eca54287200c5 100644
(file)
--- 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;