Skip to content

Commit

Permalink
Add more info in mode-line on failures.
Browse files Browse the repository at this point in the history
* dired-async.el (dired-async-after-file-create): Mention dired log buffer.
(dired-async-create-files):                       Mention dired log buffer.
  • Loading branch information
thierryvolpiatto committed May 5, 2016
1 parent 228ec4b commit 14170a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dired-async.el
Expand Up @@ -141,13 +141,13 @@ Should take same args as `message'."
;; First send error messages.
(cond (failures
(funcall dired-async-message-function
"%s failed for %d of %d file%s"
"%s failed for %d of %d file%s -- See *Dired log* buffer"
'dired-async-failures
(car operation) (length failures)
total (dired-plural-s total)))
(skipped
(funcall dired-async-message-function
"%s: %d of %d file%s skipped"
"%s: %d of %d file%s skipped -- See *Dired log* buffer"
'dired-async-failures
(car operation) (length skipped) total
(dired-plural-s total))))
Expand Down Expand Up @@ -241,13 +241,13 @@ ESC or `q' to not overwrite any of the remaining files,
(unless async-fn-list
(cond (failures
(funcall dired-async-message-function
"%s failed for %d of %d file%s"
"%s failed for %d of %d file%s -- See *Dired log* buffer"
'dired-async-failures
operation (length failures)
total (dired-plural-s total)))
(skipped
(funcall dired-async-message-function
"%s: %d of %d file%s skipped"
"%s: %d of %d file%s skipped -- See *Dired log* buffer"
'dired-async-failures
operation (length skipped) total
(dired-plural-s total)))))
Expand Down

0 comments on commit 14170a4

Please sign in to comment.