From dc2813aa84fc8b84a7e9c287eac097bb673e3a21 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 2 Sep 2022 10:40:23 +0200 Subject: fix --do-if-toot debug declare --- lisp/mastodon-tl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') 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?") -- cgit v1.2.3