From cbf084a0570fb952c59b53c9222557239be2c90c Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 23 Feb 2024 18:02:11 +0100 Subject: actually use mastodon-toot--emojify-in-compose-buffer --- lisp/mastodon-toot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-toot.el') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index e414552..366a000 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -154,7 +154,7 @@ If the original toot visibility is different we use the more restricted one." "Whether to enable your instance's custom emoji by default." :type 'boolean) -(defcustom mastodon-toot--emojify-in-compose-buffer nil +(defcustom mastodon-toot--emojify-in-compose-buffer t "Whether to enable `emojify' in the compose buffer." :type 'boolean) @@ -1902,6 +1902,8 @@ EDIT means we are editing an existing toot, not composing a new one." (setq mastodon-toot-previous-window-config previous-window-config) (when mastodon-toot--proportional-fonts-compose (facemenu-set-face 'variable-pitch)) + (when mastodon-toot--emojify-in-compose-buffer + (emojify-mode)) (when (and initial-text (not reply-json)) (insert initial-text)))) -- cgit v1.2.3