~yoctocell/peertube

9a6d91681162afc769a4d0df8e2791cc439df0be — yoctocell 1 year, 9 months ago 0d6849e
Fix peertue--get-current-video
1 files changed, 1 insertions(+), 1 deletions(-)

M peertube.el
M peertube.el => peertube.el +1 -1
@@ 199,7 199,7 @@ Format to thousands (K) or millions (M) if necessary."

(defun peertube--get-current-video ()
  "Get the currently selected video."
  (aref peertube-videos (1- (line-number-at-pos))))
  (nth (1- (line-number-at-pos)) peertube-videos))

(defun peertube-download-video ()
  "Download the video under the cursor using `transmission-add'."