diff options
Diffstat (limited to 'yeetube-buffer.el')
-rw-r--r-- | yeetube-buffer.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el index 6631f62..c671177 100644 --- a/yeetube-buffer.el +++ b/yeetube-buffer.el @@ -155,6 +155,7 @@ Emojis cause formatting issues, this should be off by default." (with-current-buffer (switch-to-buffer (get-buffer-create "*yeetube*")) (funcall buffer-mode) + (setf buffer-read-only nil) (erase-buffer) (yeetube-buffer--format-header query) (dolist (info (reverse content)) @@ -175,8 +176,8 @@ Emojis cause formatting issues, this should be off by default." "nil")) (yeetube-buffer--format-channel channel-name) "\n"))) - (setf buffer-read-only nil) (backward-delete-char 1) ;; Delete extra line + (setf buffer-read-only nil) (beginning-of-buffer))) (provide 'yeetube-buffer) |