]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve the 'dired-do-kill-lines' doc string
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Mar 2021 07:07:59 +0000 (08:07 +0100)
committerEli Zaretskii <eliz@gnu.org>
Tue, 2 Mar 2021 14:04:17 +0000 (16:04 +0200)
* lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
parameter (bug#46867).

(cherry picked from commit b9cb3b904008a80c69ab433f4851377967b100db)

lisp/dired-aux.el

index cef4de1f1c64d21076ed4707a3987a3cb8d26ef3..6c7908118a833bfdd303c8a2b144105a91a3ad11 100644 (file)
@@ -954,8 +954,13 @@ 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)."
-  ;; Returns count of killed lines.  FMT="" suppresses message.
+command with a prefix argument (the value does not matter).
+
+This function returns the number of killed lines.
+
+FMT is a format string used for messaging the user about the
+killed lines, and defaults to \"Killed %d line%s.\" if not
+present.  A FMT of \"\" will suppress the messaging."
   (interactive "P")
   (if arg
       (if (dired-get-subdir)