diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-05 11:27:54 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-05 11:27:54 +0200 |
commit | 3f358fc172c50868321b0ef246adb66a7ea795c9 (patch) | |
tree | a82e95399ae1de53bd469d1bd9a530493d3217b9 | |
parent | c72b734c917f635fac09f691e91d3391b00b96f2 (diff) | |
download | emacs-3f358fc172c50868321b0ef246adb66a7ea795c9.tar.gz |
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).
-rw-r--r-- | lisp/dired-aux.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index efb214088d8..806a3955e4d 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 |