summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-29 06:21:41 +0300
committerThanos Apollo <[email protected]>2023-09-29 06:21:41 +0300
commit4b9d216e80767d33fe7000e8d97e831213f0a9d7 (patch)
treebceff1a00c05ce7be837d1782225bc9310d91650
parent5782e7ab0f9f862aeb4ac2fddab3b3468302cef5 (diff)
[fix] yeetube-buffer: remove extra line
-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