aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 08:32:43 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-02 08:32:43 +0200
commit2f0cd109fd98a8039fb52a7ad81a386efd6e208d (patch)
tree75e7eb13b45370a2a7354bb90c50c9541e2aeb68 /lisp
parenta93ef40dd8700659e84ca48571c24f98e56cfb91 (diff)
make render-text arg TOOT optional
Diffstat (limited to 'lisp')
-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 36a79da..00a89ba 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -615,7 +615,7 @@ LETTER is a string, F for favourited, B for boosted, or K for bookmarked."
'help-echo (format "You have %s this status."
help-string)))))
-(defun mastodon-tl--render-text (string toot)
+(defun mastodon-tl--render-text (string &optional toot)
"Return a propertized text rendering the given HTML string STRING.
The contents comes from the given TOOT which is used in parsing