From d544d6774542afe82ab4b513c7d3717e9d692efc Mon Sep 17 00:00:00 2001 From: mousebot Date: Fri, 24 Dec 2021 10:41:23 +0100 Subject: text-mode for toot compose buffer and remove duplicate mastodon-toot-mode call. --- lisp/mastodon-toot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index ec1ba49..75f1f9e 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -873,11 +873,11 @@ REPLY-JSON is the full JSON of the toot being replied to." (buffer (or buffer-exists (get-buffer-create "*new toot*"))) (inhibit-read-only t)) (switch-to-buffer-other-window buffer) + (text-mode) (mastodon-toot-mode t) (when (not buffer-exists) (mastodon-toot--display-docs-and-status-fields) (mastodon-toot--setup-as-reply reply-to-user reply-to-id reply-json)) - (mastodon-toot-mode t) (unless mastodon-toot--max-toot-chars (mastodon-toot--get-max-toot-chars)) (when (require 'company nil :noerror) -- cgit v1.2.3