Helm: Fix Strawberry integration.
parent
c33940e5cf
commit
a84921bd5f
|
@ -300,10 +300,11 @@ With prefix argument, UPDATE the databases with custom uptions thanks to the
|
||||||
"strawberry"
|
"strawberry"
|
||||||
"EMMS"))
|
"EMMS"))
|
||||||
(lambda (_candidate)
|
(lambda (_candidate)
|
||||||
(let ((adder)))
|
|
||||||
(or (when (executable-find "strawberry")
|
(or (when (executable-find "strawberry")
|
||||||
(apply #'call-process
|
(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
|
source
|
||||||
(lambda (candidate)
|
(lambda (candidate)
|
||||||
(or (file-directory-p candidate)
|
(or (file-directory-p candidate)
|
||||||
|
|
Loading…
Reference in New Issue