diff options
Diffstat (limited to 'doc/emacs/dired.texi')
-rw-r--r-- | doc/emacs/dired.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 60542df1097..d2de6795c6b 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -550,7 +550,13 @@ Mark (with @samp{*}) all files whose @emph{contents} contain a match for the regular expression @var{regexp} (@code{dired-mark-files-containing-regexp}). This command is like @kbd{% m}, except that it searches the file contents instead of the file -name. +name. Note that if a file is visited in an Emacs buffer, this command +will look in the buffer without revisiting the file, so the results +might be inconsistent with the file on disk if its contents has changed +since it was last visited. If you don't want this, you may wish +reverting the files you have visited in your buffers, or turning on +the @code{auto-revert} mode in those buffers, before invoking this +command. @xref{Reverting}. @item C-/ @itemx C-x u |