diff options
author | Thanos Apollo <[email protected]> | 2023-08-20 11:36:06 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-20 11:36:06 +0300 |
commit | d0be0b4e9fb23be91025db43e7403734ec4c60d2 (patch) | |
tree | 87f6bbe93e6dd025d372c5851c94fead0e3867de | |
parent | 18734c8b8c52f3785c5cc42286a77a87d3a78169 (diff) |
yeetube-start-process: Rename variables
-rw-r--r-- | yeetube.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)))) |