aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-05-11 10:00:08 +0200
committermousebot <mousebot@riseup.net>2021-05-11 11:00:44 +0200
commit1ffe400fd4e01400fee143bf9cf6a5c22be17b3f (patch)
treed51d48bf4496e567e99f91a47a8846adad148a88 /lisp/mastodon-tl.el
parent4fcdb8c4b919b3a708684d1b373208dc67367664 (diff)
add basic search functions
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 1b3837d..9090339 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -42,10 +42,11 @@
(autoload 'mastodon-profile--account-from-id "mastodon.el-profile.el")
(autoload 'mastodon-profile--make-author-buffer "mastodon-profile.el")
(autoload 'mastodon-profile--search-account-by-handle "mastodon.el-profile.el")
-;; try an autoload for new follow fun
+;; mousebot adds
(autoload 'mastodon-profile--toot-json "mastodon-profile.el")
(autoload 'mastodon-profile--account-field "mastodon-profile.el")
(autoload 'mastodon-profile--extract-users-handles "mastodon-profile.el")
+
(defvar mastodon-instance-url)
(defvar mastodon-toot-timestamp-format)
(defvar shr-use-fonts) ;; need to declare it since Emacs24 didn't have this
@@ -656,7 +657,7 @@ it is `mastodon-tl--byline-boosted'"
(when mastodon-tl--display-media-p
(mastodon-media--inline-images start-pos (point)))))
-(defun mastodon-tl--toot(toot)
+(defun mastodon-tl--toot (toot)
"Formats TOOT and insertes it into the buffer."
(mastodon-tl--insert-status
toot