Helm: Fix Strawberry integration.

master
Pierre Neidhardt 2021-05-09 15:10:54 +02:00
parent c33940e5cf
commit a84921bd5f
1 changed files with 3 additions and 2 deletions

View File

@ -300,10 +300,11 @@ With prefix argument, UPDATE the databases with custom uptions thanks to the
"strawberry"
"EMMS"))
(lambda (_candidate)
(let ((adder)))
(or (when (executable-find "strawberry")
(apply #'call-process
"strawberry" nil nil nil (helm-marked-candidates)))))
"strawberry" nil nil nil (helm-marked-candidates)))
(when (require 'emms nil 'noerror)
(mapc 'emms-add-directory-tree (helm-marked-candidates)))))
source
(lambda (candidate)
(or (file-directory-p candidate)