diff options
author | Case Duckworth | 2021-01-26 23:20:58 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-26 23:20:58 -0600 |
commit | b5845418b208a8a9644663f86ccea0c0fb9e4f9f (patch) | |
tree | 08a4b4d1641d34c0f27a3b2e48648de0331437cc | |
parent | Mess around with the modeline (diff) | |
download | emacs-b5845418b208a8a9644663f86ccea0c0fb9e4f9f.tar.gz emacs-b5845418b208a8a9644663f86ccea0c0fb9e4f9f.zip |
Auto-fill in all text modes
-rw-r--r-- | config.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.org b/config.org index 726d6cf..321fc59 100644 --- a/config.org +++ b/config.org | |||
@@ -1169,10 +1169,10 @@ here's what I'm going to do. | |||
1169 | (add-hook 'text-mode-hook #'hook--visual-line-mode) | 1169 | (add-hook 'text-mode-hook #'hook--visual-line-mode) |
1170 | #+end_src | 1170 | #+end_src |
1171 | 1171 | ||
1172 | 2. Enable =auto-fill-mode= with =org-mode=. | 1172 | 2. Enable =auto-fill-mode= with text modes. |
1173 | 1173 | ||
1174 | #+begin_src emacs-lisp :noweb-ref hooks | 1174 | #+begin_src emacs-lisp :noweb-ref hooks |
1175 | (add-hook 'org-mode-hook #'auto-fill-mode) | 1175 | (add-hook 'text-mode-hook #'auto-fill-mode) |
1176 | #+end_src | 1176 | #+end_src |
1177 | 1177 | ||
1178 | 3. /Just/ in case ... let's "fix" =visual-line-mode= if we're in =org-mode=. | 1178 | 3. /Just/ in case ... let's "fix" =visual-line-mode= if we're in =org-mode=. |