summaryrefslogtreecommitdiffstats
path: root/yeetube-buffer.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-07 12:22:00 +0300
committerThanos Apollo <[email protected]>2023-10-07 12:22:00 +0300
commitdd046970aeacac91b9d44613d0cc3a6c3b10d839 (patch)
tree2ad7bfdcb7b04bd35cc9f3c8c46a0cef4d2cfdf6 /yeetube-buffer.el
parentd89fb174171f98d056cd8d34d02bd62fc86bcd1c (diff)
parent3fa20bde85dcd505aa705c883a3f252b5fd52532 (diff)
[feature] Browse video url on invidious
- Add yeetube-invidious-instances variable, containing random invidious instances - Rewrite yeetube-browse-url to use a random invidious instance from yeetube-invidious-instances
Diffstat (limited to 'yeetube-buffer.el')
-rw-r--r--yeetube-buffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el
index fed3c66..565d192 100644
--- a/yeetube-buffer.el
+++ b/yeetube-buffer.el
@@ -202,7 +202,8 @@ Emojis cause formatting issues, this should be off by default."
(cl-loop for result in (reverse content)
do (yeetube-buffer-insert-content result))
(delete-char -1)
- (goto-char (point-min))))
+ (goto-char (point-min))
+ (setf buffer-read-only t)))
(provide 'yeetube-buffer)
;;; yeetube-buffer.el ends here