summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-08-03 11:57:27 +0000
committerGerd Moellmann <gerd@gnu.org>2001-08-03 11:57:27 +0000
commit698665d1acac8549380619bd1f0b5642ce41583c (patch)
tree6fb8c6dbecd498b895f200fa190542c22aabd536 /lisp/replace.el
parentf4e05d97a864e835f1852a3d4276696b0211a71a (diff)
downloademacs-698665d1acac8549380619bd1f0b5642ce41583c.tar.gz
(perform-replace): Doc fix.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index b42839318c4..e307f56caac 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -875,9 +875,13 @@ type them."
"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))))