summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/yeetube.el b/yeetube.el
index 4bd1882..68c20cd 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -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)))