From 48fcd12d9d753e99e7d22ba3f1e6bc2173ac482e Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Fri, 14 Apr 2017 15:23:24 -0400 Subject: Add major mode - `mastodon' opens home buffer in new major mode - `F' switches to your federated timeline - `H' switches to your home timeline - `L' switches to your local timeline - `n' opens a `mastodon-toot' buffer - `q' quits by killing the buffer - `Q' quits by killing both the buffer and the window - `T' prompts your for a tag and then opens its timeline --- lisp/mastodon-tl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index e782631..2d2a588 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -88,7 +88,8 @@ (let* ((url (mastodon--api-for (concat "timelines/" timeline))) (tl-buff (concat "*mastodon-" timeline "*")) (tl-json (mastodon-http--get-json url))) - (mastodon-tl--render-timeline tl-buff tl-json))) + (mastodon-tl--render-timeline tl-buff tl-json) + (mastodon-mode))) (provide 'mastodon-tl) ;;; mastodon-tl.el ends here -- cgit v1.2.3