]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix success message on callback.
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Sun, 1 May 2016 15:47:58 +0000 (17:47 +0200)
committerThierry Volpiatto <thierry.volpiatto@gmail.com>
Sun, 1 May 2016 15:47:58 +0000 (17:47 +0200)
* dired-async.el (dired-async-after-file-create):
Remove one "file(s)" which seems redundant and use dired-plural-s.

dired-async.el

index 3f62cd58dd915835930c2c2b9f25905cad6c45b2..c6ff0b9e3d96560e2eac075aa75839a4682256f3 100644 (file)
@@ -153,9 +153,10 @@ Should take same args as `message'."
                            (dired-plural-s total))))
            ;; Finally send the success message.
            (funcall dired-async-message-function
-                    "Asynchronous %s of %s file(s) on %s file(s) done"
+                    "Asynchronous %s of %s on %s file%s done"
                     'dired-async-message
-                    (car operation) (cadr operation) total))))))
+                    (car operation) (cadr operation)
+                    total (dired-plural-s total)))))))
 
 (defun dired-async-maybe-kill-ftp ()
   "Return a form to kill ftp process in child emacs."