Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
596235d6
Commit
596235d6
authored
Oct 06, 1998
by
Karl Heuer
Browse files
(perform-replace): Position point properly
before and after the recursive edit of C-r.
parent
ad014140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lisp/replace.el
lisp/replace.el
+7
-4
No files found.
lisp/replace.el
View file @
596235d6
...
...
@@ -850,10 +850,13 @@ which will run faster and probably do exactly what you want."
((
eq
def
'recenter
)
(
recenter
nil
))
((
eq
def
'edit
)
(
goto-char
(
match-beginning
0
))
(
funcall
search-function
search-string
limit
t
)
(
setq
real-match-data
(
match-data
))
(
save-excursion
(
recursive-edit
))
(
let
((
opos
(
point-marker
)))
(
goto-char
(
match-beginning
0
))
(
save-excursion
(
funcall
search-function
search-string
limit
t
)
(
setq
real-match-data
(
match-data
)))
(
save-excursion
(
recursive-edit
))
(
goto-char
opos
))
(
set-match-data
real-match-data
)
;; Before we make the replacement,
;; decide whether the search string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment