]> code.delx.au - gnu-emacs-elpa/commitdiff
When failures have been printed to dired log add the date at bob.
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Sun, 1 May 2016 05:46:24 +0000 (07:46 +0200)
committerThierry Volpiatto <thierry.volpiatto@gmail.com>
Sun, 1 May 2016 05:46:24 +0000 (07:46 +0200)
* dired-async.el (dired-async-create-files): Use dired-log with t.

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)))))
                         (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
       ;; 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