From 7da7a9774cbb4d8991bd002c1c31bf49b27fb521 Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Wed, 8 Jul 2015 19:17:38 +0800 Subject: [PATCH] Doc fixes * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c C-w' in Diff mode. * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu): Add a cross reference. ; * doc/emacs/search.texi (Regexp Backslash): Minor fix. --- doc/emacs/arevert-xtra.texi | 7 ++++--- doc/emacs/files.texi | 6 +++--- doc/emacs/fixit.texi | 1 + doc/emacs/search.texi | 8 ++++---- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/emacs/arevert-xtra.texi b/doc/emacs/arevert-xtra.texi index 32b54637c72..9d356108677 100644 --- a/doc/emacs/arevert-xtra.texi +++ b/doc/emacs/arevert-xtra.texi @@ -47,9 +47,10 @@ explained in the corresponding sections. @subsection Auto Reverting the Buffer Menu If auto-reverting of non-file buffers is enabled, the Buffer Menu -automatically reverts every @code{auto-revert-interval} seconds, -whether there is a need for it or not. (It would probably take longer -to check whether there is a need than to actually revert.) +(@pxref{Several Buffers}) automatically reverts every +@code{auto-revert-interval} seconds, whether there is a need for it or +not. (It would probably take longer to check whether there is a need +than to actually revert.) If the Buffer Menu inappropriately gets marked modified, just revert it manually using @kbd{g} and auto-reverting will resume. However, if diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 3a281d223b3..e5c5e1beaac 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -1476,9 +1476,9 @@ unified format to context format. When the mark is active, convert only the text within the region. @item C-c C-w -@findex diff-refine-hunk -Refine the current hunk so that it disregards changes in whitespace -(@code{diff-refine-hunk}). +@findex diff-ignore-whitespace-hunk +Re-diff the current hunk, disregarding changes in whitespace +(@code{diff-ignore-whitespace-hunk}). @item C-x 4 A @findex diff-add-change-log-entries-other-window diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi index 9c3f36a58f0..0888f8a742c 100644 --- a/doc/emacs/fixit.texi +++ b/doc/emacs/fixit.texi @@ -78,6 +78,7 @@ the undo command. previous undo commands, use @kbd{M-x undo-only}. This is like @code{undo}, but will not redo changes you have just undone. +@c What about @kbd{M-x revert-buffer}? --xfq If you notice that a buffer has been modified accidentally, the easiest way to recover is to type @kbd{C-/} repeatedly until the stars disappear from the front of the mode line (@pxref{Mode Line}). diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 247033d4353..3562f8a2cc4 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -898,10 +898,10 @@ a conflict, you can use a ``shy'' group. @item \(?: @dots{} \) @cindex shy group, in regexp specifies a ``shy'' group that does not record the matched substring; -you can't refer back to it with @samp{\@var{d}}. This is useful -in mechanically combining regular expressions, so that you -can add groups for syntactic purposes without interfering with -the numbering of the groups that are meant to be referred to. +you can't refer back to it with @samp{\@var{d}} (see below). This is +useful in mechanically combining regular expressions, so that you can +add groups for syntactic purposes without interfering with the +numbering of the groups that are meant to be referred to. @item \@var{d} @cindex back reference, in regexp -- 2.39.2