From 3484b8186487e6934e4d124ebff253a84bff532c Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 13 Dec 2023 01:28:49 -0800 Subject: [PATCH] Add auto-fill-mode stuff --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 14e8f34..d776629 100644 --- a/init.el +++ b/init.el @@ -43,6 +43,7 @@ :hook ((emacs-lisp-mode . my/-emacs-lisp-mode-setup-evil-lookup) (prog-mode . electric-pair-local-mode) ((text-mode message-mode tex-mode) . flyspell-mode) + ((text-mode message-mode tex-mode) . auto-fill-mode) (prog-mode . flyspell-prog-mode)) :init (defun my/-emacs-lisp-mode-setup-evil-lookup () @@ -642,7 +643,8 @@ COMMAND and COMINT are like `compile'." (use-package rust-mode) ;; markdown -(use-package markdown-mode) +(use-package markdown-mode + :hook (markdown-mode . auto-fill-mode)) ;; groovy (use-package groovy-mode)