aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 8bd29e0..7a2de06 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -92,6 +92,11 @@
(progn
(mastodon--store-client-id-and-secret)))
+;;;###autoload
+(add-hook 'mastodon-mode-hook (lambda ()
+ (when (require 'emojify nil :noerror)
+ (emojify-mode t))))
+
(define-derived-mode mastodon-mode nil "Mastodon"
"Major mode for Mastodon, the federated microblogging network."
:group 'mastodon