emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 75f9ceb 286/348: Allow spaces in file names when running l


From: Oleh Krehel
Subject: [elpa] master 75f9ceb 286/348: Allow spaces in file names when running linux apps.
Date: Sat, 8 Apr 2017 11:04:16 -0400 (EDT)

branch: master
commit 75f9cebc6a44cc5aff51f403bae4774736ea52bd
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>

    Allow spaces in file names when running linux apps.
    
    * counsel.el (counsel-linux-app-action-file): Quote argument to allow 
spaces.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 6c77df3..29fa8d5 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2676,7 +2676,7 @@ And insert it into the minibuffer. Useful during
                      (format "Run %s on: " short-name)))))
     (if file
         (call-process-shell-command
-         (format "gtk-launch %s %s"
+         (format "gtk-launch %s \"%s\""
                  (file-name-nondirectory desktop-shortcut)
                  file))
       (user-error "cancelled"))))



reply via email to

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