]> code.delx.au - gnu-emacs-elpa/blobdiff - dired-async.el
When failures have been printed to dired log add the date at bob.
[gnu-emacs-elpa] / dired-async.el
index d7377a90de98ce377c9445cff5fcd2fe85071253..df8ea01d38cdaafbde7e7cee48cd34cecc743569 100644 (file)
@@ -228,6 +228,8 @@ ESC or `q' to not overwrite any of the remaining files,
                         (dired-log "%s `%s' to `%s' failed\n"
                                    operation from to)))
                   (push (cons from to) async-fn-list)))))
+      ;; When failures have been printed to dired log add the date at bob.
+      (when (or failures skipped) (dired-log t))
       ;; When async-fn-list is empty that's mean only one file
       ;; had to be copied and user finally answer NO.
       ;; In this case async process will never start and callback