diff options
-rw-r--r-- | yeetube.el | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -344,11 +344,10 @@ then run this command interactively." (setq yeetube-download-directory (read-directory-name "Select a directory: "))) -(defun yeetube-change-download-audio-format () - "Change download audio format." - (interactive) - (setq yeetube-download-audio-format - (read-string "Specify audio format(no for nil): ")) +(defun yeetube-change-download-audio-format (format) + "Change download format to audio FORMAT." + (interactive "sSpecify Audio Format(no for nil): ") + (setq yeetube-download-audio-format format) (when (equal yeetube-download-audio-format "no") (setq yeetube-download-audio-format nil))) |