aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-14 18:39:35 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-14 18:39:35 +0200
commit153b1682d015624f3fe0fc716f8cfd5e8b6161a5 (patch)
tree3c63159c709f7fe31e8b4e5ac532599a9b3bad44 /lisp/mastodon-tl.el
parent50e9fc677fd405a4e957c617f4dc31306321b9fc (diff)
more*: msg when response is nil
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 4d07a4a..ddf3d0e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2390,7 +2390,8 @@ Runs the timeline's update function on RESPONSE, in BUFFER.
When done, places point at POINT-BEFORE.
HEADERS is the http headers returned in the response, if any."
(with-current-buffer buffer
- (when response
+ (if (not response)
+ (message "No more results")
(let* ((inhibit-read-only t)
(json (if headers (car response) response))
;; FIXME: max-id pagination works for statuses only, not other