untangle mastodon.el

This commit is contained in:
Chris Cochrun 2026-01-05 10:14:20 -06:00
parent 1175a21d29
commit 488f67890e
2 changed files with 1 additions and 19 deletions

View file

@ -5825,7 +5825,7 @@ Matrix.el is a decent enough matrix client built in emacs. Like it.
** Mastodon
I'd like to access the mastodon world through emacs too.
#+begin_src emacs-lisp
#+begin_src emacs-lisp :tangle no
(use-package mastodon
:config
(setq mastodon-instance-url "https://mastodon.online"

18
init.el
View file

@ -4311,24 +4311,6 @@ interfere with the default `bongo-playlist-buffer'."
"em" 'ement-send-direct-message
"en" 'ement-notifications))
(use-package mastodon
:config
(setq mastodon-instance-url "https://mastodon.online"
mastodon-active-user "chriscochrun")
:general
(chris/leader-keys
"oF" 'mastodon)
(general-def 'normal mastodon-mode-map
:states 'normal
"q" 'bury-buffer
"p" 'mastodon-toot
"r" 'mastodon-tl--update
"b" 'mastodon-toot--toggle-boost
"H" 'mastodon-tl--get-home-timeline
"F" 'mastodon-tl--get-federated-timeline
"v" 'chris/elfeed-bongo-insert-item
"N" 'mastodon-notifications--timeline))
(add-to-list 'warning-suppress-types '(org-element))
(add-to-list 'warning-suppress-types '(ox-latex))
(add-to-list 'warning-suppress-types '(org-agenda-mode))