1
Fork 0
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:
Richard M. Stallman 1996-12-27 00:44:57 +00:00
parent 94d63a2336
commit 141aa68cfc

View file

@ -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))