summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-04 09:22:02 +0300
committerThanos Apollo <[email protected]>2023-10-04 09:22:02 +0300
commit58f72dc7e5551722b7589dc1f2cd6b0ed57fe5fa (patch)
tree9053308c578c3edc21891c47891a9497ece52422
parentbf3cceb51c4bf4fc5d62a400c99d5f595944fcac (diff)
Rename #'yeetube-mpv to yeetube-mpv-play-url
This function is used as the default value of yeetube-player. Renaming it to yeetube-mpv-play-url will hopefully reduce confusion by making the name more specific.
-rw-r--r--yeetube-mpv.el2
-rw-r--r--yeetube.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/yeetube-mpv.el b/yeetube-mpv.el
index 4349186..99a2ebf 100644
--- a/yeetube-mpv.el
+++ b/yeetube-mpv.el
@@ -50,7 +50,7 @@
(start-process-shell-command
"yeetube" nil command))))
-(defun yeetube-mpv (url)
+(defun yeetube-mpv-play-url (url)
"Start yeetube process to play URL using mpv."
(yeetube-mpv-process
(concat yeetube-mpv-path " "
diff --git a/yeetube.el b/yeetube.el
index 35bb13f..8791668 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -44,7 +44,7 @@
:type 'number
:group 'yeetube)
-(defcustom yeetube-player #'yeetube-mpv
+(defcustom yeetube-player #'yeetube-mpv-play-url
"Select media player function."
:type 'function
:group 'yeetube)