diff options
-rw-r--r-- | yeetube-buffer.el | 3 | ||||
-rw-r--r-- | yeetube.el | 5 |
2 files changed, 4 insertions, 4 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) @@ -5,8 +5,8 @@ ;; Author: Thanos Apollo <[email protected]> ;; Keywords: extensions youtube videos ;; URL: https://git.thanosapollo.com/yeetube -;; Version: 2.0.2 -(defvar yeetube--version '2.0.2) +;; Version: 2.0.3 +(defvar yeetube--version '2.0.3) ;; Package-Requires: ((emacs "27.2")) @@ -90,7 +90,6 @@ Example Usage: :init-value nil :interactive nil (abbrev-mode 0) - (setf buffer-read-only nil) (display-line-numbers-mode 0) :lighter " yeetube-mode" :keymap (let ((yeetube-mode-map (make-sparse-keymap))) |