aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 10:40:23 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 13:14:51 +0200
commitdc2813aa84fc8b84a7e9c287eac097bb673e3a21 (patch)
treeb08e81d60d6ee460828de79c6613c82de2a1edd6 /lisp/mastodon-tl.el
parent82aac0a4b33eb54d510bcf19c162213682e1dea8 (diff)
fix --do-if-toot debug declare
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 00a89ba..d74f003 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1357,7 +1357,7 @@ RESPONSE is the JSON returned by the server."
(defmacro mastodon-tl--do-if-toot (&rest body)
"Execute BODY if we have a toot or user at point."
- (declare (debug (symbolp &rest body)))
+ (declare (debug t))
`(if (and (not (string-prefix-p "accounts" (mastodon-tl--get-endpoint))) ;profile view
(not (mastodon-tl--property 'toot-json)))
(message "Looks like there's no toot or user at point?")