From c8e97645693237bcd9a988783c3431b63501a9a7 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 27 Sep 2023 15:22:50 +0300 Subject: yeetube-mpv: Fix functions name prefix --- yeetube-mpv.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'yeetube-mpv.el') diff --git a/yeetube-mpv.el b/yeetube-mpv.el index 172d933..4470394 100644 --- a/yeetube-mpv.el +++ b/yeetube-mpv.el @@ -35,20 +35,20 @@ :safe #'booleanp :group 'yeetube) -(defun yeetube-process (command) +(defun yeetube-mpv-process (command) "Start yeetube process for shell COMMAND." - (let ((yeetube-process "yeetube")) + (let ((yeetube-mpv-process "yeetube")) (dolist (process (process-list)) - (when (string-match yeetube-process (process-name process)) + (when (string-match yeetube-mpv-process (process-name process)) (kill-process process))) (sit-for 0.1) - (unless (get-process yeetube-process) + (unless (get-process yeetube-mpv-process) (start-process-shell-command "yeetube" nil command)))) (defun yeetube-mpv (url) "Start yeetube process to play URL using mpv." - (yeetube-process + (yeetube-mpv-process (if yeetube-mpv-disable-video (format "%s --no-video '%s'" (executable-find "mpv") url) (format "%s '%s'" (executable-find "mpv") url))) @@ -64,7 +64,7 @@ (message "yeetube: mpv added no-video flag"))) (defun yeetube-mpv-send-keypress (key) - "Send KEY to yeetube-process." + "Send KEY to yeetube-mpv-process." (interactive "sKey: ") (process-send-string "yeetube" key)) -- cgit v1.2.3