]> git.eshelyaron.com Git - emacs.git/commitdiff
Rework previous doc/emacs change
authorGlenn Morris <rgm@gnu.org>
Thu, 20 Feb 2014 08:25:12 +0000 (00:25 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 20 Feb 2014 08:25:12 +0000 (00:25 -0800)
* doc/emacs/search.texi (Special Isearch): Mention invisible text.
* doc/emacs/text.texi (Outline Visibility): Mention `M-s i' in isearch.

doc/emacs/ChangeLog
doc/emacs/search.texi
doc/emacs/text.texi

index 6255f85ff09916fc0b774a70c4b1965164b28582..6035a05b149723bc606fc44ef9eb12422c3d2514 100644 (file)
@@ -1,6 +1,7 @@
 2014-02-20  Glenn Morris  <rgm@gnu.org>
 
        * search.texi (Special Isearch): Mention invisible text.
+       * text.texi (Outline Visibility): Mention `M-s i' in isearch.
 
 2014-02-18  Glenn Morris  <rgm@gnu.org>
 
index 057811ac55c5659a9e64f0ecfec15937d3ee3734..6fa9a33692a202195e9b624d233521d2379baeef 100644 (file)
@@ -247,14 +247,8 @@ have this effect.  @xref{Search Case}.
 @cindex invisible text, searching for
 @kindex M-s i @r{(Incremental search)}
 @findex isearch-toggle-invisible
-@vindex search-invisible
-  Some Emacs modes hide certain text by making it invisible.  For
-example, Outline major mode (@pxref{Outline Mode}).  By default,
-incremental search will search for matches in text hidden by Outline
-mode (and some other modes), and make the text visible if it finds a match.
-To toggle whether or not invisible text is searched, type
-@kbd{M-s i} (@code{isearch-toggle-invisible}).  To change the default
-for future searches, customize the option @code{search-invisible}.
+  To toggle whether or not invisible text is searched, type
+@kbd{M-s i} (@code{isearch-toggle-invisible}).  @xref{Outline Search}.
 
   To search for a newline character, type @kbd{C-j}.
 
index 12383ec0f283dd50832d79da9b3b0a0df3bb4fc5..68523888f6da055f1acc9666c2a708c26cf527bb 100644 (file)
@@ -1124,12 +1124,17 @@ though these are technically body lines).  @kbd{C-c C-a}
 numeric argument @var{n}, it hides everything except the top @var{n}
 levels of heading lines.
 
+@anchor{Outline Search}
 @findex reveal-mode
+@vindex search-invisible
   When incremental search finds text that is hidden by Outline mode,
 it makes that part of the buffer visible.  If you exit the search at
-that position, the text remains visible.  You can also automatically
-make text visible as you navigate in it by using Reveal mode (@kbd{M-x
-reveal-mode}), a buffer-local minor mode.
+that position, the text remains visible.  To toggle whether or not
+an active incremental search can match hidden text, type @kbd{M-s i}.
+To change the default for future searches, customize the option
+@code{search-invisible}.  You can also automatically make text visible
+as you navigate in it by using Reveal mode (@kbd{M-x reveal-mode}), a
+buffer-local minor mode.
 
 @node Outline Views
 @subsection Viewing One Outline in Multiple Views