From b28807fbf3dfcfda78a27ad8ada58889010ec11f Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 27 Feb 2014 21:22:38 +0900 Subject: [PATCH] emacs.el use k&r style for c++-mode --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index e6c10bc..31ef7f6 100644 --- a/emacs.el +++ b/emacs.el @@ -1028,6 +1028,8 @@ found, otherwise returns nil." nil (add-to-list 'c-default-style '(c-mode . "k&r")) + (add-to-list 'c-default-style + '(c++-mode . "k&r")) (add-hook 'c-mode-common-hook (lambda () ;; why c-basic-offset in k&r style defaults to 5 ???