aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yeetube.el6
1 files changed, 3 insertions, 3 deletions
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))))