From 9321a5bcfe7e18a2fb12f69af36e209d41229f1d Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 24 May 2020 00:39:19 +0100 Subject: ~hook -> setq c-indent-style I'd rather just have the style set --- Doom/.doom.d/org/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doom') diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index a674ae2..4d76d02 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -245,7 +245,7 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys (access-label . 0) (label . 0) (statement-cont . +)))) - (add-hook 'cc-mode-hook #'(lambda () (interactive) (c-set-style "user")))) + (setq c-default-style "user")) #+END_SRC ** CSharp - I have custom installed the omnisharp roslyn executable, so I'd rather use -- cgit v1.2.3-13-gbd6f