summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube-buffer.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el
index c1cc431..75a99a6 100644
--- a/yeetube-buffer.el
+++ b/yeetube-buffer.el
@@ -170,7 +170,10 @@
video-duration
"nil"))
(yeetube-buffer--format-channel channel-name)
- "\n")))))
+ "\n")))
+ (setf buffer-read-only nil)
+ (backward-delete-char 1) ;; Delete extra line
+ (beginning-of-buffer)))
(provide 'yeetube-buffer)
;;; yeetube-buffer.el ends here