Mercurial > emacs
changeset 6543:33032ee16c7c
(Freplace_match): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 27 Mar 1994 07:51:45 +0000 |
parents | 1d9da8160357 |
children | a84c4990fa36 |
files | src/search.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Sun Mar 27 07:36:35 1994 +0000 +++ b/src/search.c Sun Mar 27 07:51:45 1994 +0000 @@ -1153,7 +1153,12 @@ DEFUN ("replace-match", Freplace_match, Sreplace_match, 1, 3, 0, "Replace text matched by last search with NEWTEXT.\n\ If second arg FIXEDCASE is non-nil, do not alter case of replacement text.\n\ -Otherwise convert to all caps or cap initials, like replaced text.\n\ +Otherwise maybe capitalize the whole text, or maybe just word initials,\n\ +based on the replaced text.\n\ +If the replaced text has only capital letters\n\ +and has at least one multiletter word, convert NEWTEXT to all caps.\n\ +If the replaced text has at least one word starting with a capital letter,\n\ +then capitalize each word in NEWTEXT.\n\n\ If third arg LITERAL is non-nil, insert NEWTEXT literally.\n\ Otherwise treat `\\' as special:\n\ `\\&' in NEWTEXT means substitute original matched text.\n\