diff options
-rw-r--r-- | yeetube.el | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -85,10 +85,13 @@ Example Usage: :safe #'booleanp :group 'yeetube) -;; TODO: Make it as derived from special mode -(define-minor-mode yeetube-mode +(define-derived-mode yeetube-mode special-mode "Yeetube" "Yeetube mode." :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))) (define-key yeetube-mode-map (kbd "RET") 'yeetube-play) |