Improve the dired-do-kill-lines doc string

* lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
parameter (bug#46867).
This commit is contained in:
Lars Ingebrigtsen 2021-03-02 08:07:59 +01:00
parent 165353674e
commit b9cb3b9040

View file

@ -1072,8 +1072,13 @@ 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).
To undo the killing, the undo command can be used as normally."
;; Returns count of killed lines. FMT="" suppresses message.
To undo the killing, the undo command can be used as normally.
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)