1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-27 21:19:51 -05:00

Default to 4 spaces in prog mode

This commit is contained in:
Jack Foltz 2019-03-11 10:55:44 -04:00
parent 873d6f952e
commit 7a0dffadaf
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -739,8 +739,8 @@ Define some *useful* helper functions
(setq tab-width num)
(setq indent-tabs-mode nil))
;; Default
(jf-indent-spaces 4)
;; Default to 4 spaces
(add-hook 'prog-mode-hook #'jf-indent-4-spaces)
;; Define functions for every level of indent that might need hooking
(cl-macrolet