diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-12-27 00:44:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-12-27 00:44:57 +0000 |
commit | 23fa2fa1efa36bbf3a3d42f7ed97b133b9895c27 (patch) | |
tree | d7759062025ab5e693c24da22ff46f54db8bc104 | |
parent | e3b35e5ecd6db3bb5787794c096ef22247ac29fe (diff) | |
download | emacs-23fa2fa1efa36bbf3a3d42f7ed97b133b9895c27.tar.gz |
(perform-replace): Request integers from match-data,
instead of asking for markers and converting them.
-rw-r--r-- | lisp/replace.el | 7 |
1 files changed, 1 insertions, 6 deletions
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)) |