diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-04-23 12:20:01 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-23 12:39:57 -0400 |
commit | 733ce6a8bae9f0622432b33b138f532b71688e80 (patch) | |
tree | d319e53cfbf64b14d4ba816585e69d4738f6eda0 /lisp | |
parent | ebe375102222b69afb3761ed4db766aa8fe073ba (diff) |
Close #56 with emojify auto-detection hook
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon.el | 5 |
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 |