From 27d33bcdb6196199cee3334a9e8e440b5f3ed996 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Mon, 26 Oct 2020 04:30:48 +0000 Subject: [PATCH] Automatic C indentation with clang-format, tab width 8 to try out --- init.el | 28 ++++++---------------------- 1 files changed, 6 insertions(+), 22 deletions(-) diff --git a/init.el b/init.el index 21c4e68..7c3dd14 100644 --- a/init.el +++ b/init.el @@ -1,3 +1,7 @@ +;; Set file for custom changes +(setq custom-file "~/.emacs.d/custom.el") +(load custom-file 'noerror) + ;; Repos (require 'package) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") @@ -28,26 +32,6 @@ ;; redirect to org config file (when (file-readable-p "~/.emacs.d/config.org") (org-babel-load-file "~/.emacs.d/config.org")) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; 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. - '(custom-safe-themes - (quote - ("6b2636879127bf6124ce541b1b2824800afc49c6ccd65439d6eb987dbf200c36" default))) - '(ede-project-directories (quote ("c:/Users/joelg/.emacs.d"))) - '(line-number-mode nil) - '(package-selected-packages - (quote - (org elscreen doom-themes csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; 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. - '(default ((t (:foreground "#DCDCCC" :background "#3F3F3F"))))) -(put 'narrow-to-page 'disabled nil) -(put 'narrow-to-region 'disabled nil) +(put 'upcase-region 'disabled nil) +(put 'downcase-region 'disabled nil) (put 'list-timers 'disabled nil) -- Gitblit v1.9.3