Commit 141aa68c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(perform-replace): Request integers from match-data,

instead of asking for markers and converting them.
parent 94d63a23
......@@ -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))))
(or replaced (match-data t)))
(setq lastrepl (point)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment