1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(perform-replace): Doc fix.

This commit is contained in:
Gerd Moellmann 2001-08-03 11:57:27 +00:00
parent f4e05d97a8
commit 698665d1ac
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-08-03 Gerd Moellmann <gerd@gnu.org>
* replace.el (perform-replace): Doc fix.
2001-08-02 Francesco Potorti` <pot@gnu.org>
* uniquify.el (uniquify-ref-base, uniquify-ref-filename)

View File

@ -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))))