branch: externals/mpdired
commit 3198436ba60ec3f8e2f78b92080ede868f8d7073
Author: Manuel Giraud <[email protected]>
Commit: Manuel Giraud <[email protected]>

    quote URI in messages
---
 mpdired.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mpdired.el b/mpdired.el
index 622d7534e4..aecc7bbac7 100644
--- a/mpdired.el
+++ b/mpdired.el
@@ -973,11 +973,11 @@ In the queue view, start playing the song at point."
 (defun mpdired--build-add-message (typed-uris)
   (let* ((uris (mapcar 'cdr typed-uris))
         (n (length uris)))
-    (cond ((= n 1) (format "Adding %s..." (car uris)))
+    (cond ((= n 1) (format "Adding \"%s\"..." (car uris)))
          ((= n 2)
-          (format "Adding %s and %s..." (car uris) (cadr uris)))
+          (format "Adding \"%s\" and \"%s\"..." (car uris) (cadr uris)))
          ((> n 2)
-          (format "Adding %s, %s and %d others..."
+          (format "Adding \"%s\", \"%s\" and %d others..."
                   (car uris) (cadr uris) (- n 2))))))
 
 (defun mpdired-add ()

Reply via email to