summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/yeetube.el b/yeetube.el
index b05b57e..23e1080 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -110,9 +110,7 @@ Keywords:
- :channel"
(unless (keywordp keyword)
(error "Value `%s' is not a keyword" keyword))
- (let ((video-info
- (cl-getf (nth (- (line-number-at-pos) 1) (reverse yeetube-content)) keyword)))
- video-info))
+ (cl-getf (tabulated-list-get-id) keyword))
(defun yeetube-get-url ()
"Get video url."