From 802725e043e48e453899d45e0110daa4fbbdc981 Mon Sep 17 00:00:00 2001 From: Alexander Griffith Date: Sat, 10 Mar 2018 12:48:19 -0500 Subject: Toggle read-only when inserting thread contents. (#184) --- lisp/mastodon-tl.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 4190c4c..6711351 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -701,10 +701,11 @@ webapp" endpoint ,(format "statuses/%s/context" id) update-function (lambda(toot) (message "END of thread.")))) - (mastodon-tl--timeline (vconcat - (cdr (assoc 'ancestors context)) - `(,toot) - (cdr (assoc 'descendants context))))) + (let ((inhibit-read-only t)) + (mastodon-tl--timeline (vconcat + (cdr (assoc 'ancestors context)) + `(,toot) + (cdr (assoc 'descendants context)))))) (message "No Thread!")))) (defun mastodon-tl--more () -- cgit v1.2.3