From: Eli Zaretskii Date: Thu, 2 Dec 2021 10:43:51 +0000 (+0200) Subject: ; * lisp/dired-x.el (dired-virtual): Doc fix. (Bug#20992) X-Git-Tag: emacs-29.0.90~3625^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2494bdaeea309c6b270dc09beba34da5f193573;p=emacs.git ; * lisp/dired-x.el (dired-virtual): Doc fix. (Bug#20992) --- 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.