summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-12-02 12:43:51 +0200
committerEli Zaretskii <eliz@gnu.org>2021-12-02 12:43:51 +0200
commite2494bdaeea309c6b270dc09beba34da5f193573 (patch)
tree29ad3a8439f62cc912d68dad9d3ef9d6f7c53a37 /lisp/dired-x.el
parentdfc7338828a8db6cf177633f942efcb0d7930aaa (diff)
downloademacs-e2494bdaeea309c6b270dc09beba34da5f193573.tar.gz
; * lisp/dired-x.el (dired-virtual): Doc fix. (Bug#20992)
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 499d5cd2f01..855e58e16c1 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -580,7 +580,9 @@ files in the active region if `dired-mark-region' is non-nil."
(defalias 'virtual-dired 'dired-virtual)
(defun dired-virtual (dirname &optional switches)
- "Try to make the current buffer into a Dired buffer.
+ "Treat the current buffer as a Dired buffer showing directory DIRNAME.
+Interactively, prompt for DIRNAME.
+
This command is rarely useful, but may be convenient if you want
to peruse and move around in the output you got from \"ls
-lR\" (or something similar), without having access to the actual
@@ -588,8 +590,8 @@ file system.
Most Dired commands that don't consult the file system will work
as advertised, but commands that try to alter the file system
-will usually fail. (If the output is from the current system,
-most of those commands, too, will work fine.)
+will usually fail. (However, if the output is from the current
+system, most of those commands will work fine.)
If you have saved a Dired buffer in a file you can use \\[dired-virtual] to
resume it in a later session.