From fc14200c795b383094d80e6b0b87246bc66a524b Mon Sep 17 00:00:00 2001 From: opFez Date: Tue, 8 Dec 2020 22:14:05 +0100 Subject: [PATCH] c mode --- init.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index e85812a..d6f4fd8 100644 --- a/init.el +++ b/init.el @@ -10,7 +10,8 @@ (scroll-bar-mode 0) ;; Appearance -(set-frame-font "DejaVu Sans Mono 10") +(set-frame-font "Terminus 12") +(set-face-italic 'font-lock-comment-face nil) ; disable italics ; theme set in packages.el (global-linum-mode) (blink-cursor-mode nil) @@ -59,7 +60,8 @@ (ad-activate 'ansi-term) ;; C configuration - +(setq c-default-style "linux" + c-basic-offset 4) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -69,7 +71,9 @@ ;; 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. - '(package-selected-packages '(tao-themes tao-theme almost-mono-themes use-package))) + '(package-selected-packages + (quote + (tao-themes tao-theme almost-mono-themes use-package)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.