diff options
| author | Juri Linkov | 2016-05-17 23:55:38 +0300 |
|---|---|---|
| committer | Juri Linkov | 2016-05-17 23:55:38 +0300 |
| commit | 1fe1e0a8e7e3863d36c1a87ca38d2fa39bc25a56 (patch) | |
| tree | 4e53bb771b1c81d7a4c79c2323c33b7c37a40274 /lisp/replace.el | |
| parent | a35826dbd44122b97e93d0c67bf658ced0a07ec6 (diff) | |
| download | emacs-1fe1e0a8e7e3863d36c1a87ca38d2fa39bc25a56.tar.gz emacs-1fe1e0a8e7e3863d36c1a87ca38d2fa39bc25a56.zip | |
* lisp/char-fold.el: Rename from character-fold.el.
* lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
* test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 26e5875dc08..fe90062cc8a 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | :type 'boolean | 33 | :type 'boolean |
| 34 | :group 'matching) | 34 | :group 'matching) |
| 35 | 35 | ||
| 36 | (defcustom replace-character-fold nil | 36 | (defcustom replace-char-fold nil |
| 37 | "Non-nil means replacement commands should do character folding in matches. | 37 | "Non-nil means replacement commands should do character folding in matches. |
| 38 | This means, for instance, that \\=' will match a large variety of | 38 | This means, for instance, that \\=' will match a large variety of |
| 39 | unicode quotes. | 39 | unicode quotes. |
| @@ -324,7 +324,7 @@ If `replace-lax-whitespace' is non-nil, a space or spaces in the string | |||
| 324 | to be replaced will match a sequence of whitespace chars defined by the | 324 | to be replaced will match a sequence of whitespace chars defined by the |
| 325 | regexp in `search-whitespace-regexp'. | 325 | regexp in `search-whitespace-regexp'. |
| 326 | 326 | ||
| 327 | If `replace-character-fold' is non-nil, matching uses character folding, | 327 | If `replace-char-fold' is non-nil, matching uses character folding, |
| 328 | i.e. it ignores diacritics and other differences between equivalent | 328 | i.e. it ignores diacritics and other differences between equivalent |
| 329 | character strings. | 329 | character strings. |
| 330 | 330 | ||
| @@ -383,7 +383,7 @@ If `replace-regexp-lax-whitespace' is non-nil, a space or spaces in the regexp | |||
| 383 | to be replaced will match a sequence of whitespace chars defined by the | 383 | to be replaced will match a sequence of whitespace chars defined by the |
| 384 | regexp in `search-whitespace-regexp'. | 384 | regexp in `search-whitespace-regexp'. |
| 385 | 385 | ||
| 386 | This function is not affected by `replace-character-fold'. | 386 | This function is not affected by `replace-char-fold'. |
| 387 | 387 | ||
| 388 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | 388 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace |
| 389 | only matches surrounded by word boundaries. A negative prefix arg means | 389 | only matches surrounded by word boundaries. A negative prefix arg means |
| @@ -474,7 +474,7 @@ If `replace-regexp-lax-whitespace' is non-nil, a space or spaces in the regexp | |||
| 474 | to be replaced will match a sequence of whitespace chars defined by the | 474 | to be replaced will match a sequence of whitespace chars defined by the |
| 475 | regexp in `search-whitespace-regexp'. | 475 | regexp in `search-whitespace-regexp'. |
| 476 | 476 | ||
| 477 | This function is not affected by `replace-character-fold'. | 477 | This function is not affected by `replace-char-fold'. |
| 478 | 478 | ||
| 479 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | 479 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace |
| 480 | only matches that are surrounded by word boundaries. | 480 | only matches that are surrounded by word boundaries. |
| @@ -568,7 +568,7 @@ If `replace-lax-whitespace' is non-nil, a space or spaces in the string | |||
| 568 | to be replaced will match a sequence of whitespace chars defined by the | 568 | to be replaced will match a sequence of whitespace chars defined by the |
| 569 | regexp in `search-whitespace-regexp'. | 569 | regexp in `search-whitespace-regexp'. |
| 570 | 570 | ||
| 571 | If `replace-character-fold' is non-nil, matching uses character folding, | 571 | If `replace-char-fold' is non-nil, matching uses character folding, |
| 572 | i.e. it ignores diacritics and other differences between equivalent | 572 | i.e. it ignores diacritics and other differences between equivalent |
| 573 | character strings. | 573 | character strings. |
| 574 | 574 | ||
| @@ -623,7 +623,7 @@ If `replace-regexp-lax-whitespace' is non-nil, a space or spaces in the regexp | |||
| 623 | to be replaced will match a sequence of whitespace chars defined by the | 623 | to be replaced will match a sequence of whitespace chars defined by the |
| 624 | regexp in `search-whitespace-regexp'. | 624 | regexp in `search-whitespace-regexp'. |
| 625 | 625 | ||
| 626 | This function is not affected by `replace-character-fold' | 626 | This function is not affected by `replace-char-fold' |
| 627 | 627 | ||
| 628 | In Transient Mark mode, if the mark is active, operate on the contents | 628 | In Transient Mark mode, if the mark is active, operate on the contents |
| 629 | of the region. Otherwise, operate from point to the end of the buffer's | 629 | of the region. Otherwise, operate from point to the end of the buffer's |
| @@ -2051,9 +2051,9 @@ It is called with three arguments, as if it were | |||
| 2051 | ;; used after `recursive-edit' might override them. | 2051 | ;; used after `recursive-edit' might override them. |
| 2052 | (let* ((isearch-regexp regexp-flag) | 2052 | (let* ((isearch-regexp regexp-flag) |
| 2053 | (isearch-regexp-function (or delimited-flag | 2053 | (isearch-regexp-function (or delimited-flag |
| 2054 | (and replace-character-fold | 2054 | (and replace-char-fold |
| 2055 | (not regexp-flag) | 2055 | (not regexp-flag) |
| 2056 | #'character-fold-to-regexp))) | 2056 | #'char-fold-to-regexp))) |
| 2057 | (isearch-lax-whitespace | 2057 | (isearch-lax-whitespace |
| 2058 | replace-lax-whitespace) | 2058 | replace-lax-whitespace) |
| 2059 | (isearch-regexp-lax-whitespace | 2059 | (isearch-regexp-lax-whitespace |