summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-28 14:53:52 +0300
committerThanos Apollo <[email protected]>2023-09-28 14:53:52 +0300
commitf4abd6e7a302aad0a064c3871c47c7f0e9867ea3 (patch)
tree09f22bc28b93004cf2bd5402c13d40a33c413757
parent4ce6455ae574d66bba9d31ca838f57d883285c75 (diff)
yeetube: Update yeetube-play
Remove let statement and use yeetube-get-url directly
-rw-r--r--yeetube.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/yeetube.el b/yeetube.el
index d26bf52..cb5aeee 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -136,9 +136,7 @@ Example Usage:
(defun yeetube-play ()
"Play video at point in *yeetube* buffer."
(interactive)
- (let ((url (yeetube-get-url)))
- (funcall yeetube-player
- (concat "https://youtube.com/watch?v=" url))))
+ (funcall yeetube-player (yeetube-get-url)))
(defun yeetube-load-saved-videos ()
"Load saved videos."