Refactor initfiles

This commit is contained in:
Henrik Lissner 2014-09-05 17:08:40 -04:00
parent 6b094920bd
commit f2e2f05742
34 changed files with 1161 additions and 860 deletions

10
init/defuns/hooks.el Normal file
View file

@ -0,0 +1,10 @@
(defun enable-hard-wrap()
(auto-fill-mode 1)
(diminish 'auto-fill-function))
(defun enable-comment-hard-wrap ()
(set (make-local-variable 'comment-auto-fill-only-comments) t)
(auto-fill-mode 1)
(diminish 'auto-fill-function))
(defun enable-tab-width-2 () (setq tab-width 2))