changeset 16758:bbe21b1c17a7

(perform-replace): Request integers from match-data, instead of asking for markers and converting them.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Dec 1996 00:44:57 +0000
parents e1c2e9a44236
children 000ae1a6510e
files lisp/replace.el
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/replace.el	Thu Dec 26 22:43:17 1996 +0000
+++ b/lisp/replace.el	Fri Dec 27 00:44:57 1996 +0000
@@ -686,12 +686,7 @@
 	      ;; 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))