aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 19:43:40 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 22:22:49 +0100
commit15ad9d08dcd11795986fac0cade255306dfb9e96 (patch)
treed17a31469d8440169f075279cad402235660097e /lisp
parentbf4eef8b2d85b7b4cde69a87b0f265b9d40f1cad (diff)
mastodon-toot-mode-hook: disable auto-fill. also readme
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el5
1 files changed, 5 insertions, 0 deletions
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