# HG changeset patch # User Juri Linkov # Date 1227386493 0 # Node ID e7e3c29a55201471583fc119b2ad9e9ce2a53664 # Parent b102ebc8ec55635d63418f3c40583d4034da91d1 (Dired Navigation): Change normal file name search option from `non-nil' to `t'. Add `dwim' option. diff -r b102ebc8ec55 -r e7e3c29a5520 doc/emacs/dired.texi --- a/doc/emacs/dired.texi Sat Nov 22 20:41:10 2008 +0000 +++ b/doc/emacs/dired.texi Sat Nov 22 20:41:33 2008 +0000 @@ -124,10 +124,12 @@ amongst the file names and ignoring the rest of the text in the buffer. @kbd{M-s f M-C-s} (@code{dired-isearch-filenames-regexp}) does the same, using a regular expression search. If you change the -variable @var{dired-isearch-filenames} to non-@code{nil}, then the +variable @var{dired-isearch-filenames} to @code{t}, then the usual search commands also limit themselves to the file names; for -instance, @kbd{C-s} behaves like @kbd{M-s f C-s}. @xref{Search}, for -information about incremental search. +instance, @kbd{C-s} behaves like @kbd{M-s f C-s}. If the value is +@code{dwim}, then search commands match the file names only when point +was on a file name initially. @xref{Search}, for information about +incremental search. Some additional navigation commands are available when the Dired buffer includes several directories. @xref{Subdirectory Motion}.