aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTino Calancha2016-07-11 14:34:49 +0900
committerTino Calancha2016-07-11 14:34:49 +0900
commitdf7774be39af76d3072a0278ef815a47bf50dfe9 (patch)
treef722a0fa5197618c29b1bee0b33ab875f97f188a /doc
parentbfeda891a51178dd0032800ea4aef013c62bbe10 (diff)
downloademacs-df7774be39af76d3072a0278ef815a47bf50dfe9.tar.gz
emacs-df7774be39af76d3072a0278ef815a47bf50dfe9.zip
Dired always read file system
* dired.el (dired-always-read-filesystem): Add new option. (dired-mark-files-containing-regexp): Use it (Bug#22694). * doc/emacs/dired.texi: Mention it in the manual. * test/lisp/dired-tests.el (dired-test-bug22694): Add test. ;* etc/NEWS: Add entry for this change.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/dired.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index 486e92a40bb..2cda51a82fa 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -550,13 +550,16 @@ Mark (with @samp{*}) all files whose @emph{contents} contain a match for
550the regular expression @var{regexp} 550the regular expression @var{regexp}
551(@code{dired-mark-files-containing-regexp}). This command is like 551(@code{dired-mark-files-containing-regexp}). This command is like
552@kbd{% m}, except that it searches the file contents instead of the file 552@kbd{% m}, except that it searches the file contents instead of the file
553name. Note that if a file is visited in an Emacs buffer, this command 553name. Note that if a file is visited in an Emacs buffer,
554will look in the buffer without revisiting the file, so the results 554and @code{dired-always-read-filesystem} is @code{nil} (the default), this
555command will look in the buffer without revisiting the file, so the results
555might be inconsistent with the file on disk if its contents has changed 556might be inconsistent with the file on disk if its contents has changed
556since it was last visited. If you don't want this, you may wish 557since it was last visited. If you don't want this, you may wish
557reverting the files you have visited in your buffers, or turning on 558reverting the files you have visited in your buffers, or turning on
558the @code{auto-revert} mode in those buffers, before invoking this 559the @code{auto-revert} mode in those buffers, before invoking this
559command. @xref{Reverting}. 560command. @xref{Reverting}. If you prefer that this command always revisit
561the file, without having to revert the file or enable @code{auto-revert}
562mode, you might want to set @code{dired-always-read-filesystem} to non-@code{nil}.
560 563
561@item C-/ 564@item C-/
562@itemx C-x u 565@itemx C-x u