aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJuri Linkov2016-05-17 23:55:38 +0300
committerJuri Linkov2016-05-17 23:55:38 +0300
commit1fe1e0a8e7e3863d36c1a87ca38d2fa39bc25a56 (patch)
tree4e53bb771b1c81d7a4c79c2323c33b7c37a40274 /lisp/replace.el
parenta35826dbd44122b97e93d0c67bf658ced0a07ec6 (diff)
downloademacs-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.el16
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.
38This means, for instance, that \\=' will match a large variety of 38This means, for instance, that \\=' will match a large variety of
39unicode quotes. 39unicode quotes.
@@ -324,7 +324,7 @@ If `replace-lax-whitespace' is non-nil, a space or spaces in the string
324to be replaced will match a sequence of whitespace chars defined by the 324to be replaced will match a sequence of whitespace chars defined by the
325regexp in `search-whitespace-regexp'. 325regexp in `search-whitespace-regexp'.
326 326
327If `replace-character-fold' is non-nil, matching uses character folding, 327If `replace-char-fold' is non-nil, matching uses character folding,
328i.e. it ignores diacritics and other differences between equivalent 328i.e. it ignores diacritics and other differences between equivalent
329character strings. 329character strings.
330 330
@@ -383,7 +383,7 @@ If `replace-regexp-lax-whitespace' is non-nil, a space or spaces in the regexp
383to be replaced will match a sequence of whitespace chars defined by the 383to be replaced will match a sequence of whitespace chars defined by the
384regexp in `search-whitespace-regexp'. 384regexp in `search-whitespace-regexp'.
385 385
386This function is not affected by `replace-character-fold'. 386This function is not affected by `replace-char-fold'.
387 387
388Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace 388Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
389only matches surrounded by word boundaries. A negative prefix arg means 389only 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
474to be replaced will match a sequence of whitespace chars defined by the 474to be replaced will match a sequence of whitespace chars defined by the
475regexp in `search-whitespace-regexp'. 475regexp in `search-whitespace-regexp'.
476 476
477This function is not affected by `replace-character-fold'. 477This function is not affected by `replace-char-fold'.
478 478
479Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace 479Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
480only matches that are surrounded by word boundaries. 480only 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
568to be replaced will match a sequence of whitespace chars defined by the 568to be replaced will match a sequence of whitespace chars defined by the
569regexp in `search-whitespace-regexp'. 569regexp in `search-whitespace-regexp'.
570 570
571If `replace-character-fold' is non-nil, matching uses character folding, 571If `replace-char-fold' is non-nil, matching uses character folding,
572i.e. it ignores diacritics and other differences between equivalent 572i.e. it ignores diacritics and other differences between equivalent
573character strings. 573character strings.
574 574
@@ -623,7 +623,7 @@ If `replace-regexp-lax-whitespace' is non-nil, a space or spaces in the regexp
623to be replaced will match a sequence of whitespace chars defined by the 623to be replaced will match a sequence of whitespace chars defined by the
624regexp in `search-whitespace-regexp'. 624regexp in `search-whitespace-regexp'.
625 625
626This function is not affected by `replace-character-fold' 626This function is not affected by `replace-char-fold'
627 627
628In Transient Mark mode, if the mark is active, operate on the contents 628In Transient Mark mode, if the mark is active, operate on the contents
629of the region. Otherwise, operate from point to the end of the buffer's 629of 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