From: Richard M. Stallman Date: Fri, 27 Dec 1996 00:44:57 +0000 (+0000) Subject: (perform-replace): Request integers from match-data, X-Git-Tag: emacs-20.1~3186 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=141aa68cfc8ba93e3ea6237ec8d86834069ae66e;p=emacs.git (perform-replace): Request integers from match-data, instead of asking for markers and converting them. --- diff --git a/lisp/replace.el b/lisp/replace.el index 205c8508090..ed02e051506 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -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))