From c92792027df7b2f81a57136c546ef3d1e3ca596e Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Fri, 17 Dec 2021 18:15:55 -0600 Subject: [PATCH] Set cc-mode as default style --- custom.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/custom.el b/custom.el index 19886de..811120c 100644 --- a/custom.el +++ b/custom.el @@ -3,6 +3,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(auth-source-save-behavior nil) '(auto-save-file-name-transforms '((".*" "~/.emacs.d/autosave/" t))) '(aw-dispatch-when-more-than 2) @@ -10,6 +11,11 @@ '((".*" . "~/.emacs.d/backup"))) '(browse-kill-ring-display-duplicates nil) + '(c-default-style + '((c-mode . "cc-mode") + (java-mode . "java") + (awk-mode . "awk") + (other . "gnu"))) '(company-show-numbers t) '(custom-safe-themes '("e29a6c66d4c383dbda21f48effe83a1c2a1058a17ac506d60889aba36685ed94" @@ -69,8 +75,7 @@ '(ibuffer-show-empty-filter-groups nil) '(iedit-toggle-key-default - "M-]" - t) + "M-]") '(inhibit-startup-screen t) '(kill-ring-max 500) '(magit-status-sections-hook