From f4abd6e7a302aad0a064c3871c47c7f0e9867ea3 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 28 Sep 2023 14:53:52 +0300 Subject: yeetube: Update yeetube-play Remove let statement and use yeetube-get-url directly --- yeetube.el | 4 +--- 1 file changed, 1 insertion(+), 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." -- cgit v1.2.3