comparison lispref/searching.texi @ 7086:075343a6b32b

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Apr 1994 21:47:17 +0000
parents 3b84ed22f747
children 7db892210924
comparison
equal deleted inserted replaced
7085:5e56975be72a 7086:075343a6b32b
1000 1000
1001 If @var{fixedcase} is non-@code{nil}, then the case of the replacement 1001 If @var{fixedcase} is non-@code{nil}, then the case of the replacement
1002 text is not changed; otherwise, the replacement text is converted to a 1002 text is not changed; otherwise, the replacement text is converted to a
1003 different case depending upon the capitalization of the text to be 1003 different case depending upon the capitalization of the text to be
1004 replaced. If the original text is all upper case, the replacement text 1004 replaced. If the original text is all upper case, the replacement text
1005 is converted to upper case, except when all of the words in the original 1005 is converted to upper case. If the first word of the original text is
1006 text are only one character long. In that event, the replacement text 1006 capitalized, then the first word of the replacement text is capitalized.
1007 is capitalized. If @emph{any} of the words in the original text is 1007 If the original text contains just one word, and that word is a capital
1008 capitalized, then all of the words in the replacement text are 1008 letter, @code{replace-match} considers this a capitalized first word
1009 capitalized. 1009 rather than all upper case.
1010 1010
1011 If @var{literal} is non-@code{nil}, then @var{replacement} is inserted 1011 If @var{literal} is non-@code{nil}, then @var{replacement} is inserted
1012 exactly as it is, the only alterations being case changes as needed. 1012 exactly as it is, the only alterations being case changes as needed.
1013 If it is @code{nil} (the default), then the character @samp{\} is treated 1013 If it is @code{nil} (the default), then the character @samp{\} is treated
1014 specially. If a @samp{\} appears in @var{replacement}, then it must be 1014 specially. If a @samp{\} appears in @var{replacement}, then it must be