[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3f358fc: Mention undo in the doc string of dired-do-kill-lines
From: |
Lars Ingebrigtsen |
Subject: |
master 3f358fc: Mention undo in the doc string of dired-do-kill-lines |
Date: |
Wed, 5 Aug 2020 05:28:03 -0400 (EDT) |
branch: master
commit 3f358fc172c50868321b0ef246adb66a7ea795c9
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Mention undo in the doc string of dired-do-kill-lines
* lisp/dired-aux.el (dired-do-kill-lines): Mention that this can
be undone (bug#42707).
---
lisp/dired-aux.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index efb2140..806a395 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -952,13 +952,17 @@ With a prefix argument, kill that many lines starting
with the current line.
"Kill all marked lines (not the files).
With a prefix argument, kill that many lines starting with the current line.
\(A negative argument kills backward.)
+
If you use this command with a prefix argument to kill the line
for a file that is a directory, which you have inserted in the
Dired buffer as a subdirectory, then it deletes that subdirectory
from the buffer as well.
+
To kill an entire subdirectory \(without killing its line in the
parent directory), go to its directory header line and use this
-command with a prefix argument (the value does not matter)."
+command with a prefix argument (the value does not matter).
+
+To undo the killing, the undo command can be used as normally."
;; Returns count of killed lines. FMT="" suppresses message.
(interactive "P")
(if arg
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3f358fc: Mention undo in the doc string of dired-do-kill-lines,
Lars Ingebrigtsen <=