branch: master
commit 4f6b98d08345a3b37b3cd5402d67353ece5f1ce1
Author: Thierry Volpiatto <thierry.volpia...@gmail.com>
Commit: Thierry Volpiatto <thierry.volpia...@gmail.com>

    Fix operation arg of callback.
    
    * dired-async.el (dired-async-after-file-create):
    Use the car.
---
 dired-async.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dired-async.el b/dired-async.el
index d971953..c4dca08 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -141,13 +141,13 @@ Should take same args as `message'."
                   (funcall dired-async-message-function
                            "%s failed for %d of %d file%s"
                            'dired-async-failures
-                           operation (length failures)
+                           (car operation) (length failures)
                            total (dired-plural-s total)))
                  (skipped
                   (funcall dired-async-message-function
                            "%s: %d of %d file%s skipped"
                            'dired-async-failures
-                           operation (length skipped) total
+                           (car operation) (length skipped) total
                            (dired-plural-s total))))
            ;; Finally send the success message.
            (funcall dired-async-message-function

Reply via email to