aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-28 17:50:19 +0200
committermousebot <mousebot@riseup.net>2021-10-28 17:50:19 +0200
commit998bfd60ed0ad1c4de161dd9a32c7786ee34b48a (patch)
treec70e0cf2eb67700908069dcabfd2d70cccf7eed1
parentc60eb355232e57fec9fe97f366a3a2176f8c4110 (diff)
mastodon-async readme
-rw-r--r--README.org4
-rw-r--r--lisp/mastodon.el1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.org b/README.org
index 7c9b18e..2455124 100644
--- a/README.org
+++ b/README.org
@@ -54,13 +54,13 @@ The minimum Emacs version is now 26.1. But if you are running an older version i
I did this for my own use and to learn more Elisp. Feel free to improve it.
-** live-updating timelines
+** live-updating timelines: =mastodon-async-mode=
(code taken from https://github.com/alexjgriffith/mastodon-future.el.)
Works for federated, local, and home timelines and for notifications. It's pretty necro, sometimes it goes off the rails, so use at your own risk. Not a super high priority for me, but some people dig it.
-To enable, run =mastodon-async-mode=. Then view a timeline with one of the commands that begin with =mastodon-async--stream=.
+To enable, it, add =(require 'mastodon-async)= to your =init.el=. Then you can view a timeline with one of the commands that begin with =mastodon-async--stream-=.
** NB: dependency
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 7f4b773..25fb829 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -77,6 +77,7 @@
;; (autoload 'mastodon-async--stream-local "mastodon-async")
;; (autoload 'mastodon-async--stream-home "mastodon-async")
;; (autoload 'mastodon-async--stream-notifications "mastodon-async")
+;; (autoload 'mastodon-async-mode "mastodon-async")
(autoload 'mastodon-profile--update-user-profile-note "mastodon-profile")
(autoload 'mastodon-auth--user-acct "mastodon-auth")
(autoload 'mastodon-tl--poll-vote "mastodon-http")