diff options
| author | Tino Calancha | 2016-07-11 14:34:49 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-07-11 14:34:49 +0900 |
| commit | df7774be39af76d3072a0278ef815a47bf50dfe9 (patch) | |
| tree | f722a0fa5197618c29b1bee0b33ab875f97f188a /doc | |
| parent | bfeda891a51178dd0032800ea4aef013c62bbe10 (diff) | |
| download | emacs-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.texi | 9 |
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 | |||
| 550 | the regular expression @var{regexp} | 550 | the 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 |
| 553 | name. Note that if a file is visited in an Emacs buffer, this command | 553 | name. Note that if a file is visited in an Emacs buffer, |
| 554 | will look in the buffer without revisiting the file, so the results | 554 | and @code{dired-always-read-filesystem} is @code{nil} (the default), this |
| 555 | command will look in the buffer without revisiting the file, so the results | ||
| 555 | might be inconsistent with the file on disk if its contents has changed | 556 | might be inconsistent with the file on disk if its contents has changed |
| 556 | since it was last visited. If you don't want this, you may wish | 557 | since it was last visited. If you don't want this, you may wish |
| 557 | reverting the files you have visited in your buffers, or turning on | 558 | reverting the files you have visited in your buffers, or turning on |
| 558 | the @code{auto-revert} mode in those buffers, before invoking this | 559 | the @code{auto-revert} mode in those buffers, before invoking this |
| 559 | command. @xref{Reverting}. | 560 | command. @xref{Reverting}. If you prefer that this command always revisit |
| 561 | the file, without having to revert the file or enable @code{auto-revert} | ||
| 562 | mode, 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 |