diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-02 08:32:43 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-02 08:32:43 +0200 |
commit | 2f0cd109fd98a8039fb52a7ad81a386efd6e208d (patch) | |
tree | 75e7eb13b45370a2a7354bb90c50c9541e2aeb68 | |
parent | a93ef40dd8700659e84ca48571c24f98e56cfb91 (diff) |
make render-text arg TOOT optional
-rw-r--r-- | lisp/mastodon-tl.el | 2 |
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 |