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 ???