Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions youtube-dl.el
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ display purposes anyway."
"--dump-json"
"--flat-playlist"
playlist))
(setf (point) (point-min))
(goto-char (point-min))
(cl-loop with json-object-type = 'plist
for index upfrom 1
for video = (ignore-errors (json-read))
Expand Down Expand Up @@ -345,7 +345,7 @@ of reversed playlists.
(let ((save-point (point))
(window (get-buffer-window (current-buffer))))
(youtube-dl--fill-listing)
(setf (point) save-point)
(goto-char save-point)
(when window
(set-window-point window save-point))
(when hl-line-mode
Expand Down