aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-15 21:16:24 +0100
committermousebot <mousebot@riseup.net>2021-12-15 21:16:24 +0100
commit834dabcb9147e45633166b3f3b35b2b1d6fc64cc (patch)
treed01086e939af9eded6da6c73c37cfffae86e002e /lisp/mastodon.el
parentf22cfa60d301a1b834cb86f6f9b75b57d9dab6e8 (diff)
customize option to enable custom emoji by default.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index f9c18a0..662b691 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -223,7 +223,9 @@ If REPLY-JSON is the json of the toot being replied to."
;;;###autoload
(add-hook 'mastodon-mode-hook (lambda ()
(when (require 'emojify nil :noerror)
- (emojify-mode t))))
+ (emojify-mode t)
+ (when mastodon-toot--enable-custom-instance-emoji
+ (mastodon-toot--enable-custom-emoji)))))
(define-derived-mode mastodon-mode special-mode "Mastodon"
"Major mode for Mastodon, the federated microblogging network."