diff options
| author | Eli Zaretskii | 2021-07-11 13:15:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-07-11 13:15:34 +0300 |
| commit | 5b9daab3a745577441b0966d0b8e2bb261cdb976 (patch) | |
| tree | a4342d30a8e194e9e13cec3e40b2d334f16c6a4b | |
| parent | 3b29afa68070f3040f08fec0077213f9a15d1adc (diff) | |
| download | emacs-5b9daab3a745577441b0966d0b8e2bb261cdb976.tar.gz emacs-5b9daab3a745577441b0966d0b8e2bb261cdb976.zip | |
; * doc/lispref/text.texi (Substitution): Fix a recent change.
| -rw-r--r-- | doc/lispref/text.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 71a8efe3622..b71748c0832 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -4399,7 +4399,8 @@ based on their character codes. | |||
| 4399 | @cindex replace characters | 4399 | @cindex replace characters |
| 4400 | This function replaces all occurrences of the character @var{old-char} | 4400 | This function replaces all occurrences of the character @var{old-char} |
| 4401 | with the character @var{new-char} in the region of the current buffer | 4401 | with the character @var{new-char} in the region of the current buffer |
| 4402 | defined by @var{start} and @var{end}. | 4402 | defined by @var{start} and @var{end}. Both characters must have the |
| 4403 | same length of their multibyte form. | ||
| 4403 | 4404 | ||
| 4404 | @cindex undo avoidance | 4405 | @cindex undo avoidance |
| 4405 | If @var{noundo} is non-@code{nil}, then @code{subst-char-in-region} does | 4406 | If @var{noundo} is non-@code{nil}, then @code{subst-char-in-region} does |
| @@ -4432,10 +4433,10 @@ ThXs Xs the contents of the buffer before. | |||
| 4432 | @defun subst-char-in-string fromchar tochar string &optional inplace | 4433 | @defun subst-char-in-string fromchar tochar string &optional inplace |
| 4433 | @cindex replace characters in string | 4434 | @cindex replace characters in string |
| 4434 | This function replaces all occurences of the character @var{fromchar} | 4435 | This function replaces all occurences of the character @var{fromchar} |
| 4435 | with @var{tochar} in @var{string}. Unless @var{inplace} is non-nil, | 4436 | with @var{tochar} in @var{string}. By default, substitution occurs in |
| 4436 | substitution occurs in a copy of @var{string}. In any case, the | 4437 | a copy of @var{string}, but if the optional argument @var{inplace} is |
| 4437 | function returns the resulting string. Both characters must have the | 4438 | non-@code{nil}, the function modifies the @var{string} itself. In any |
| 4438 | same multi-byte length. | 4439 | case, the function returns the resulting string. |
| 4439 | @end defun | 4440 | @end defun |
| 4440 | 4441 | ||
| 4441 | @deffn Command translate-region start end table | 4442 | @deffn Command translate-region start end table |