From 08e6f41f33fc2515221b3e3c608ff5e7ece9e5e1 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 30 Sep 2023 03:26:58 +0300 Subject: Mark as version 2.0.3 Fix keybindings & yeetube-mode minor issues --- yeetube-buffer.el | 3 ++- 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) diff --git a/yeetube.el b/yeetube.el index 04c2bf9..76d5b8e 100644 --- a/yeetube.el +++ b/yeetube.el @@ -5,8 +5,8 @@ ;; Author: Thanos Apollo ;; 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))) -- cgit v1.2.3