Refactor initfiles
This commit is contained in:
parent
6b094920bd
commit
f2e2f05742
34 changed files with 1161 additions and 860 deletions
10
init/defuns/hooks.el
Normal file
10
init/defuns/hooks.el
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue