From 7a0dffadaf9f0420d7431e2340f621ac05a4ef2a Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Mon, 11 Mar 2019 10:55:44 -0400 Subject: [PATCH] Default to 4 spaces in prog mode --- lain/.emacs.d/config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lain/.emacs.d/config.org b/lain/.emacs.d/config.org index 27442ac..31db22c 100644 --- a/lain/.emacs.d/config.org +++ b/lain/.emacs.d/config.org @@ -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