1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -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 tab-width num)
(setq indent-tabs-mode nil)) (setq indent-tabs-mode nil))
;; Default ;; Default to 4 spaces
(jf-indent-spaces 4) (add-hook 'prog-mode-hook #'jf-indent-4-spaces)
;; Define functions for every level of indent that might need hooking ;; Define functions for every level of indent that might need hooking
(cl-macrolet (cl-macrolet