summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-09-08 11:58:18 +0000
committerRichard M. Stallman <rms@gnu.org>2006-09-08 11:58:18 +0000
commitddcfebf1ae00930dfa46339dca83f45628140df5 (patch)
tree6e62ad7534f40455572324db35359f40079912ca
parent809f0c3561c74499b70206dba00c57e7cf400c6e (diff)
downloademacs-ddcfebf1ae00930dfa46339dca83f45628140df5.tar.gz
(dired-log-summary): Add doc string.
-rw-r--r--lisp/dired.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 59fb21a004f..2974b386d0b 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3043,6 +3043,10 @@ Thus, use \\[backward-page] to find the beginning of a group of errors."
(insert "\f\n")))))))
(defun dired-log-summary (string failures)
+ "State a summary of a command's failures, in echo area and log buffer.
+STRING is an overall summary of the failures.
+FAILURES is a list of file names that we failed to operate on,
+or nil if file names are not applicable."
(if (= (length failures) 1)
(message "%s"
(with-current-buffer dired-log-buffer