[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master dd09794 33/39: Fix success message on callback.

From: Thierry Volpiatto
Subject: [elpa] master dd09794 33/39: Fix success message on callback.
Date: Wed, 18 May 2016 18:02:54 +0000 (UTC)

branch: master
commit dd09794572d1d3c1d6d277ac31b4c6d67d7fda93
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>

    Fix success message on callback.
    * dired-async.el (dired-async-after-file-create):
    Remove one "file(s)" which seems redundant and use dired-plural-s.
 dired-async.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dired-async.el b/dired-async.el
index 3f62cd5..c6ff0b9 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -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"
-                    (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."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]