aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-07 22:51:42 -0800
committerLars Ingebrigtsen2014-02-07 22:51:42 -0800
commit74750d5511fb55f30ddf9a188470d85aa45a1732 (patch)
tree14b91f57ee2b925ffa1a3800ccbb81c84f33a89b
parentfdb510756f7958570387b32d307683dfed7bd3e7 (diff)
downloademacs-74750d5511fb55f30ddf9a188470d85aa45a1732.tar.gz
emacs-74750d5511fb55f30ddf9a188470d85aa45a1732.zip
* search.texi (Search Case) doc tweak
* search.texi (Search Case): Rearrange text slightly to make it obvious that `M-c' also toggles sensitivity if `case-fold-search' is nil. Fixes: debbugs:14726
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/search.texi12
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index eed94529ad4..8d976127ec9 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,9 @@
12014-02-08 Lars Ingebrigtsen <larsi@gnus.org> 12014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2 2
3 * search.texi (Search Case): Rearrange text slightly to make it
4 obvious that `M-c' also toggles sensitivity if `case-fold-search'
5 is nil (bug#14726).
6
3 * frames.texi (Mouse Commands): Clarify `mouse-yank-at-click' 7 * frames.texi (Mouse Commands): Clarify `mouse-yank-at-click'
4 (bug#16376). 8 (bug#16376).
5 9
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index ff82434a205..35aa15ee163 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1038,12 +1038,6 @@ the search case-sensitive. Thus, searching for @samp{Foo} does not find
1038well as to string search. The effect ceases if you delete the 1038well as to string search. The effect ceases if you delete the
1039upper-case letter from the search string. 1039upper-case letter from the search string.
1040 1040
1041 Typing @kbd{M-c} within an incremental search toggles the case
1042sensitivity of that search. The effect does not extend beyond the
1043current incremental search to the next one, but it does override the
1044effect of adding or removing an upper-case letter in the current
1045search.
1046
1047@vindex case-fold-search 1041@vindex case-fold-search
1048 If you set the variable @code{case-fold-search} to @code{nil}, then 1042 If you set the variable @code{case-fold-search} to @code{nil}, then
1049all letters must match exactly, including case. This is a per-buffer 1043all letters must match exactly, including case. This is a per-buffer
@@ -1053,6 +1047,12 @@ This variable applies to nonincremental searches also, including those
1053performed by the replace commands (@pxref{Replace}) and the minibuffer 1047performed by the replace commands (@pxref{Replace}) and the minibuffer
1054history matching commands (@pxref{Minibuffer History}). 1048history matching commands (@pxref{Minibuffer History}).
1055 1049
1050 Typing @kbd{M-c} within an incremental search toggles the case
1051sensitivity of that search. The effect does not extend beyond the
1052current incremental search to the next one, but it does override the
1053effect of adding or removing an upper-case letter in the current
1054search.
1055
1056 Several related variables control case-sensitivity of searching and 1056 Several related variables control case-sensitivity of searching and
1057matching for specific commands or activities. For instance, 1057matching for specific commands or activities. For instance,
1058@code{tags-case-fold-search} controls case sensitivity for 1058@code{tags-case-fold-search} controls case sensitivity for