Browse Source

emacs.el use k&r style for c++-mode

pull/1/head
10sr 10 years ago
parent
commit
b28807fbf3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

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


Loading…
Cancel
Save