From 15ad9d08dcd11795986fac0cade255306dfb9e96 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 10 Mar 2023 19:43:40 +0100 Subject: mastodon-toot-mode-hook: disable auto-fill. also readme --- lisp/mastodon-toot.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/mastodon-toot.el') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 2625695..b8930b0 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1654,6 +1654,11 @@ EDIT means we are editing an existing toot, not composing a new one." ;;;###autoload (add-hook 'mastodon-toot-mode-hook #'mastodon-profile--fetch-server-account-settings-maybe) +;; disable auto-fill-mode: +(add-hook 'mastodon-toot-mode-hook + (lambda () + (auto-fill-mode -1))) + (define-minor-mode mastodon-toot-mode "Minor mode to capture Mastodon toots." :group 'mastodon-toot -- cgit v1.2.3