diff options
author | Thanos Apollo <[email protected]> | 2023-07-04 06:03:07 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-07-04 06:03:07 +0300 |
commit | b762e567bfca76647320c2e0305b81b5a1e9e5a9 (patch) | |
tree | 905271f24495b2b6fd443d6186d4ea9d288691b3 | |
parent | 0e862089d4cd4dff280aabb97c8b71f21dbced06 (diff) |
fix: Unused lexical variable
Add _ for 'operation' and 'where'
Change 'string-equal to 'equal(personal preference)
-rw-r--r-- | yeetube.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -229,7 +229,7 @@ then run this command interactively." "\n~C-c C-o~ -> Open In Browser\n" "\n~q~ -> Quit\n"))) -(defun yeetube-update-info (symbol-name new-value operation where) +(defun yeetube-update-info (symbol-name new-value _operation _where) "Update information for SYMBOL-NAME with NEW-VALUE. SYMBOL-NAME is the name of the symbol to update. @@ -254,7 +254,7 @@ OPERATION & WHERE are required to work with 'add-variable-watcher." (goto-char (point-min)) (search-forward yeetube-results-prefix) (setq-local buffer-read-only t) - (unless (string-equal (buffer-name) "*Yeetube Search*") + (unless (equal (buffer-name) "*Yeetube Search*") (switch-to-buffer (other-buffer)))))) |