mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 14:10:47 -08:00
(perform-replace): Request integers from match-data,
instead of asking for markers and converting them.
This commit is contained in:
parent
94d63a2336
commit
141aa68cfc
1 changed files with 1 additions and 6 deletions
|
|
@ -686,12 +686,7 @@ which will run faster and probably do exactly what you want."
|
|||
;; since lots of markers slow down editing.
|
||||
(setq stack
|
||||
(cons (cons (point)
|
||||
(or replaced
|
||||
(mapcar (lambda (elt)
|
||||
(and elt
|
||||
(prog1 (marker-position elt)
|
||||
(set-marker elt nil))))
|
||||
(match-data))))
|
||||
(or replaced (match-data t)))
|
||||
stack))))
|
||||
(setq lastrepl (point)))
|
||||
(replace-dehighlight))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue