From d0be0b4e9fb23be91025db43e7403734ec4c60d2 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 20 Aug 2023 11:36:06 +0300 Subject: yeetube-start-process: Rename variables --- yeetube.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'yeetube.el') diff --git a/yeetube.el b/yeetube.el index 88ef4aa..6d5fcc6 100644 --- a/yeetube.el +++ b/yeetube.el @@ -212,12 +212,12 @@ Example Usage: (defun yeetube-start-process (command) "Start yeetube process for shell COMMAND." - (let ((process-name "yeetube")) + (let ((yeetube-process "yeetube")) (dolist (process (process-list)) - (when (string-match process-name (process-name process)) + (when (string-match yeetube-process (process-name process)) (kill-process process))) (sit-for 0.1) - (unless (get-process process-name) + (unless (get-process yeetube-process) (start-process-shell-command "yeetube" nil command)))) -- cgit v1.2.3