aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-27 07:51:45 +0000
committerRichard M. Stallman1994-03-27 07:51:45 +0000
commit5b9cf4b2e050f8f53ff87eaf1cbcfd581786a168 (patch)
tree96de4f97f0c344b07fc079f566c7b2bcb0982be7
parenta8226f6724e0804eac44a5f4731e96984b75d023 (diff)
downloademacs-5b9cf4b2e050f8f53ff87eaf1cbcfd581786a168.tar.gz
emacs-5b9cf4b2e050f8f53ff87eaf1cbcfd581786a168.zip
(Freplace_match): Doc fix.
-rw-r--r--src/search.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 45d3f52fe90..a76dd3aae9f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1153,7 +1153,12 @@ See also the functions `match-beginning', `match-end' and `replace-match'.")
1153DEFUN ("replace-match", Freplace_match, Sreplace_match, 1, 3, 0, 1153DEFUN ("replace-match", Freplace_match, Sreplace_match, 1, 3, 0,
1154 "Replace text matched by last search with NEWTEXT.\n\ 1154 "Replace text matched by last search with NEWTEXT.\n\
1155If second arg FIXEDCASE is non-nil, do not alter case of replacement text.\n\ 1155If second arg FIXEDCASE is non-nil, do not alter case of replacement text.\n\
1156Otherwise convert to all caps or cap initials, like replaced text.\n\ 1156Otherwise maybe capitalize the whole text, or maybe just word initials,\n\
1157based on the replaced text.\n\
1158If the replaced text has only capital letters\n\
1159and has at least one multiletter word, convert NEWTEXT to all caps.\n\
1160If the replaced text has at least one word starting with a capital letter,\n\
1161then capitalize each word in NEWTEXT.\n\n\
1157If third arg LITERAL is non-nil, insert NEWTEXT literally.\n\ 1162If third arg LITERAL is non-nil, insert NEWTEXT literally.\n\
1158Otherwise treat `\\' as special:\n\ 1163Otherwise treat `\\' as special:\n\
1159 `\\&' in NEWTEXT means substitute original matched text.\n\ 1164 `\\&' in NEWTEXT means substitute original matched text.\n\