aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-26 15:31:38 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-26 15:44:13 +0100
commit75896755e97a75523eb9e4a8aef3d30350c30299 (patch)
tree4bdd5dff74448dbb176a0b1cdccf28fb81de2f69 /lisp
parent8c3f5435b977c04edbe86015ecdf7f9ba181e80e (diff)
no lambdas allowed in buffer-spec update-function!
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el1
-rw-r--r--lisp/mastodon-tl.el4
2 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 6dbe572..1200972 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -584,7 +584,6 @@ HEADERS means also fetch link headers for pagination."
(link-header (when headers
(mastodon-tl--get-link-header-from-response
(cdr response))))
-
(note (mastodon-profile--account-field account 'note))
(locked (mastodon-profile--account-field account 'locked))
(followers-count (mastodon-tl--as-string
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index b019272..f02593c 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1453,7 +1453,7 @@ ID is that of the toot to view."
(mastodon-mode)
(mastodon-tl--set-buffer-spec buffer
(format "statuses/%s" id)
- (lambda (_toot) (message "END of thread.")))
+ nil)
(let ((inhibit-read-only t))
(mastodon-tl--toot toot :detailed-p))))))
@@ -1493,7 +1493,7 @@ ID is that of the toot to view."
(mastodon-tl--set-buffer-spec
buffer
(format "statuses/%s/context" id)
- (lambda (_toot) (message "END of thread.")))
+ 'mastodon-tl--thread)
(let ((inhibit-read-only t))
(mastodon-tl--timeline (alist-get 'ancestors context))
(goto-char (point-max))