summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-20 11:36:06 +0300
committerThanos Apollo <[email protected]>2023-08-20 11:36:06 +0300
commitd0be0b4e9fb23be91025db43e7403734ec4c60d2 (patch)
tree87f6bbe93e6dd025d372c5851c94fead0e3867de
parent18734c8b8c52f3785c5cc42286a77a87d3a78169 (diff)
yeetube-start-process: Rename variables
-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))))