summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 8bebd23..da45954 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -662,6 +662,10 @@ font name, font weight, and font height in that order.")
(x-set-project-list))
;;; C-Style
+(setq-default
+ c-auto-newline t
+ c-hungry-delete-key t)
+
(defun x-c-defun-open-safe (_syntax _position)
(if (c-cpp-define-name)
'(after)