emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 153b1682d0 07/52: more*: msg when response is nil


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 153b1682d0 07/52: more*: msg when response is nil
Date: Mon, 30 Oct 2023 16:01:24 -0400 (EDT)

branch: elpa/mastodon
commit 153b1682d015624f3fe0fc716f8cfd5e8b6161a5
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    more*: msg when response is nil
---
 lisp/mastodon-tl.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 4d07a4a5a1..ddf3d0e658 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]