]> code.delx.au - gnu-emacs/commitdiff
Document o and C-o in Occur mode.
authorRichard M. Stallman <rms@gnu.org>
Sun, 7 Jul 2002 12:19:59 +0000 (12:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 7 Jul 2002 12:19:59 +0000 (12:19 +0000)
man/search.texi

index b46a7fb771baa711334266b43290759378f3d9be..7d828d6e2bc2b1b49e296a7f3e6a603708336159 100644 (file)
@@ -1059,11 +1059,15 @@ specifies that @var{n} lines of context are to be displayed before and
 after each matching line.
 
 @kindex RET @r{(Occur mode)}
+@kindex o @r{(Occur mode)}
+@kindex C-o @r{(Occur mode)}
 The buffer @samp{*Occur*} containing the output serves as a menu for
-finding the occurrences in their original context.  Click @kbd{Mouse-2}
-on an occurrence listed in @samp{*Occur*}, or position point there and
-type @key{RET}; this switches to the buffer that was searched and
-moves point to the original of the chosen occurrence.
+finding the occurrences in their original context.  Click
+@kbd{Mouse-2} on an occurrence listed in @samp{*Occur*}, or position
+point there and type @key{RET}; this switches to the buffer that was
+searched and moves point to the original of the chosen occurrence.
+@kbd{o} and @kbd{C-o} display the match in another window; @kbd{C-o}
+does not select it.
 
 @item M-x list-matching-lines
 Synonym for @kbd{M-x occur}.