From: Lars Ingebrigtsen Date: Wed, 5 Aug 2020 09:27:54 +0000 (+0200) Subject: Mention undo in the doc string of dired-do-kill-lines X-Git-Tag: emacs-28.0.90~6812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f358fc172c50868321b0ef246adb66a7ea795c9;p=emacs.git 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). --- 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