From c4f1919b7fae128dcac424c3a820cdd20413c16d Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 30 Aug 2023 14:57:02 +0300 Subject: yeetube-download-video: remove shell-argument Fix for zsh --- yeetube.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yeetube.el') diff --git a/yeetube.el b/yeetube.el index cd2f656..3b1c644 100644 --- a/yeetube.el +++ b/yeetube.el @@ -412,10 +412,7 @@ Example Usage: (let ((default-directory yeetube-download-directory)) (call-process-shell-command (if yeetube-download-audio-format - (format "%s '%s' --extract-audio --audio-format %s" - (shell-quote-argument yeetube-yt-dlp) - (shell-quote-argument url) - (shell-quote-argument yeetube-download-audio-format)) + (format "%s '%s' --extract-audio --audio-format %s" (executable-find "yt-dlp") url yeetube-download-audio-format) (format "%s '%s'" (executable-find "yt-dlp") url)) nil 0) (message "Downloading %s " url))))) -- cgit v1.2.3