From 4b9d216e80767d33fe7000e8d97e831213f0a9d7 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 29 Sep 2023 06:21:41 +0300 Subject: [fix] yeetube-buffer: remove extra line --- yeetube-buffer.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3