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

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

[nongnu] elpa/mastodon 213b5b4f5f 07/18: get-toot-author: use do-if-item


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 213b5b4f5f 07/18: get-toot-author: use do-if-item, not with-toot-item.
Date: Mon, 2 Dec 2024 16:00:33 -0500 (EST)

branch: elpa/mastodon
commit 213b5b4f5f0a1be1a471d5af49c5dbd09271447f
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>

    get-toot-author: use do-if-item, not with-toot-item.
    
    this makes the function work on profile elements, which is needed eg to
    reload on deletion
---
 lisp/mastodon-profile.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 740afa171d..ee3f3d23c1 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -814,7 +814,7 @@ the format \"2000-01-31T00:00:00.000Z\"."
 If toot is a boost, load the profile of the author of the original item.
 MAX-ID is a flag to include the max_id pagination parameter."
   (interactive)
-  (mastodon-toot--with-toot-item
+  (mastodon-tl--do-if-item
    (let ((json (mastodon-tl--toot-or-base
                 (mastodon-profile--item-json))))
      (mastodon-profile--make-author-buffer



reply via email to

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