diff options
Diffstat (limited to 'init.el')
-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 |