diff options
author | Case Duckworth | 2021-04-03 09:44:41 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-03 09:44:41 -0500 |
commit | b49611018e91db68fae2d4fd0487e7606398b12a (patch) | |
tree | fc932faff06f3f583d0d6d0372210edcddd8b683 | |
parent | Remove *disabling* of simple-modeline-mode from acdw/reading-mode (diff) | |
download | emacs-b49611018e91db68fae2d4fd0487e7606398b12a.tar.gz emacs-b49611018e91db68fae2d4fd0487e7606398b12a.zip |
Fix typo
-rw-r--r-- | init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.el b/init.el index 85647e5..62e16c7 100644 --- a/init.el +++ b/init.el | |||
@@ -94,10 +94,10 @@ | |||
94 | (global-so-long-mode +1) | 94 | (global-so-long-mode +1) |
95 | 95 | ||
96 | ;; Only fill comments in prog-mode. | 96 | ;; Only fill comments in prog-mode. |
97 | (defun-with-hooks '(prog-mode) | 97 | (add-hook 'prog-mode-hook |
98 | (defun hook--auto-fill-prog-mode () | 98 | (defun hook--auto-fill-prog-mode () |
99 | (setq-local comment-auto-fill-only-comments t) | 99 | (setq-local comment-auto-fill-only-comments t) |
100 | (turn-on-auto-fill))) | 100 | (turn-on-auto-fill))) |
101 | 101 | ||
102 | ;;;; Whitespace | 102 | ;;;; Whitespace |
103 | (setc whitespace-style | 103 | (setc whitespace-style |