emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b9cb3b9: Improve the dired-do-kill-lines doc string


From: Lars Ingebrigtsen
Subject: master b9cb3b9: Improve the dired-do-kill-lines doc string
Date: Tue, 2 Mar 2021 02:08:07 -0500 (EST)

branch: master
commit b9cb3b904008a80c69ab433f4851377967b100db
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Improve the dired-do-kill-lines doc string
    
    * lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
    parameter (bug#46867).
---
 lisp/dired-aux.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index a94bdf5..d5f4910 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]