aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-24 10:41:23 +0100
committermousebot <mousebot@riseup.net>2021-12-24 10:41:23 +0100
commitd544d6774542afe82ab4b513c7d3717e9d692efc (patch)
treed3ec84ed03f168a1eff62e9d3a3296c7895d2ee7 /lisp
parentab37e43c60edf5f0d591441e8cece61a27dd2a6d (diff)
text-mode for toot compose buffer
and remove duplicate mastodon-toot-mode call.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el2
1 files changed, 1 insertions, 1 deletions
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)