summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/yeetube.el b/yeetube.el
index 1443261..2f08507 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -432,10 +432,10 @@ prompt blank to keep the default name."
(when (equal yeetube-download-audio-format "no")
(setq yeetube-download-audio-format nil)))
-(defun yeetube-change-query-url ()
- "Change `yeetube-query-url'."
- (interactive)
- (setq yeetube-query-url (read-string "URL: "))
+(defun yeetube-change-query-url (url)
+ "Change `yeetube-query-url' to URL."
+ (interactive "sURL:")
+ (setq yeetube-query-url url)
(when (string-prefix-p "localhost" yeetube-query-url)
(setq yeetube-query-url (concat "http://localhost:" (read-string "Port: "))))
(unless (or (string-prefix-p "http://" yeetube-query-url)