# HG changeset patch # User Gerd Moellmann # Date 996839825 0 # Node ID a7b1d283fe97f5687c77add22f6915b0b5db6092 # Parent 8e0b0d76380ab0e7aa64adb0644bfe89d1316f55 (perform-replace): Doc fix. diff -r 8e0b0d76380a -r a7b1d283fe97 lisp/replace.el --- a/lisp/replace.el Fri Aug 03 11:36:48 2001 +0000 +++ b/lisp/replace.el Fri Aug 03 11:57:05 2001 +0000 @@ -875,9 +875,13 @@ "Subroutine of `query-replace'. Its complexity handles interactive queries. Don't use this in your own program unless you want to query and set the mark just as `query-replace' does. Instead, write a simple loop like this: - (while (re-search-forward \"foo[ \t]+bar\" nil t) + + (while (re-search-forward \"foo[ \\t]+bar\" nil t) (replace-match \"foobar\" nil nil)) -which will run faster and probably do exactly what you want." + +which will run faster and probably do exactly what you want. Please +see the documentation of `replace-match' to find out how to simulate +`case-replace'." (or map (setq map query-replace-map)) (and query-flag minibuffer-auto-raise (raise-frame (window-frame (minibuffer-window))))