aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJohn Wiegley2016-03-11 11:42:06 -0800
committerJohn Wiegley2016-03-11 11:42:06 -0800
commitfacb5e20ce186e47506860bde982e35020fedce5 (patch)
tree5d9e98b46157cc75e9cbecb713765e8cf639a66b /doc
parent4efea8e70147f884265f20d0b36b930c095a811c (diff)
downloademacs-facb5e20ce186e47506860bde982e35020fedce5.tar.gz
emacs-facb5e20ce186e47506860bde982e35020fedce5.zip
Update Emacs manual section related to character folding
* search.texi: Character folding is not on by default.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/search.texi21
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 10c1f73b331..459e8446937 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1265,14 +1265,14 @@ character sequences}.
1265 1265
1266@kindex M-s ' @r{(Incremental Search)} 1266@kindex M-s ' @r{(Incremental Search)}
1267@findex isearch-toggle-character-fold 1267@findex isearch-toggle-character-fold
1268 Generally, search commands in Emacs by default perform character 1268 Generally, search commands in Emacs do not by default perform
1269folding, thus matching equivalent character sequences. You can 1269character folding in order to match equivalent character sequences.
1270disable this behavior by customizing the variable 1270You can enable this behavior by customizing the variable
1271@code{search-default-mode} to @code{nil}. @xref{Search 1271@code{search-default-mode} to @code{character-fold-to-regexp}.
1272Customizations}. Within an incremental search, typing @kbd{M-s '} 1272@xref{Search Customizations}. Within an incremental search, typing
1273(@code{isearch-toggle-character-fold}) toggles character folding, but 1273@kbd{M-s '} (@code{isearch-toggle-character-fold}) toggles character
1274only for that search. (Replace commands have a different default, 1274folding, but only for that search. (Replace commands have a different
1275controlled by a separate option; see @ref{Replacement and Lax 1275default, controlled by a separate option; see @ref{Replacement and Lax
1276Matches}.) 1276Matches}.)
1277 1277
1278 Like with case folding, typing an explicit variant of a character, 1278 Like with case folding, typing an explicit variant of a character,
@@ -1806,9 +1806,8 @@ do literal searches without character folding, but with case folding
1806and lax-whitespace matches as determined by @code{case-fold-search} 1806and lax-whitespace matches as determined by @code{case-fold-search}
1807and @code{search-whitespace-regexp}, respectively (@pxref{Lax 1807and @code{search-whitespace-regexp}, respectively (@pxref{Lax
1808Search}). If the value is @code{t}, incremental search defaults to 1808Search}). If the value is @code{t}, incremental search defaults to
1809regexp searches. The default value specifies a function that causes 1809regexp searches. The default value specifies a function that only
1810the default search mode to perform character folding in addition to 1810performs case folding and lax-whitespace matching.
1811case folding and lax-whitespace matching.
1812 1811
1813@vindex search-highlight 1812@vindex search-highlight
1814 The current match of an on-going incremental search is highlighted 1813 The current match of an on-going incremental search is highlighted